René's URL Explorer Experiment


Title: Django’s cache framework | Django documentation | Django

Open Graph Title: Django’s cache framework | Django documentation

Open Graph Description: The web framework for perfectionists with deadlines.

Keywords:

Opengraph URL: https://docs.djangoproject.com/en/1.11/topics/cache/

X: djangoproject

direct link

Domain: docs.djangoproject.com

NoneIE=edge
ROBOTSALL
MSSmartTagsPreventParsingtrue
CopyrightDjango Software Foundation
fediverse:creator@django@fosstodon.org
msapplication-TileColor#113228
msapplication-TileImagehttps://static.djangoproject.com/img/icon-tile.b01ac0ef9f67.png
theme-color#0C4B33
og:imagehttps://static.djangoproject.com/img/logos/django-logo-negative.1d528e2cb5fb.png
og:image:altDjango logo
og:image:width1200
og:image:height546
og:image:typeimage/png
og:site_nameDjango Project
twitter:creatordjangoproject
twitter:cardsummary

Links:

Skip to main contenthttps://docs.djangoproject.com/en/1.11/topics/cache/#main-content
Djangohttps://www.djangoproject.com/
Overviewhttps://www.djangoproject.com/start/overview/
Downloadhttps://www.djangoproject.com/download/
Documentationhttps://docs.djangoproject.com/
Newshttps://www.djangoproject.com/weblog/
Codehttps://github.com/django/django
Issueshttps://code.djangoproject.com/
Communityhttps://www.djangoproject.com/community/
Foundationhttps://www.djangoproject.com/foundation/
♥ Donatehttps://www.djangoproject.com/fundraising/
Documentationhttps://docs.djangoproject.com/en/1.11/
Getting Help https://docs.djangoproject.com/en/1.11/faq/help/
pt-brhttps://docs.djangoproject.com/pt-br/1.11/topics/cache/
plhttps://docs.djangoproject.com/pl/1.11/topics/cache/
kohttps://docs.djangoproject.com/ko/1.11/topics/cache/
jahttps://docs.djangoproject.com/ja/1.11/topics/cache/
idhttps://docs.djangoproject.com/id/1.11/topics/cache/
frhttps://docs.djangoproject.com/fr/1.11/topics/cache/
eshttps://docs.djangoproject.com/es/1.11/topics/cache/
elhttps://docs.djangoproject.com/el/1.11/topics/cache/
devhttps://docs.djangoproject.com/en/dev/topics/cache/
6.0https://docs.djangoproject.com/en/6.0/topics/cache/
5.2https://docs.djangoproject.com/en/5.2/topics/cache/
5.1https://docs.djangoproject.com/en/5.1/topics/cache/
5.0https://docs.djangoproject.com/en/5.0/topics/cache/
4.2https://docs.djangoproject.com/en/4.2/topics/cache/
4.1https://docs.djangoproject.com/en/4.1/topics/cache/
4.0https://docs.djangoproject.com/en/4.0/topics/cache/
3.2https://docs.djangoproject.com/en/3.2/topics/cache/
3.1https://docs.djangoproject.com/en/3.1/topics/cache/
3.0https://docs.djangoproject.com/en/3.0/topics/cache/
2.2https://docs.djangoproject.com/en/2.2/topics/cache/
2.1https://docs.djangoproject.com/en/2.1/topics/cache/
2.0https://docs.djangoproject.com/en/2.0/topics/cache/
1.10https://docs.djangoproject.com/en/1.10/topics/cache/
1.8https://docs.djangoproject.com/en/1.8/topics/cache/
https://docs.djangoproject.com/en/1.11/topics/cache/#top
https://docs.djangoproject.com/en/1.11/topics/cache/#django-s-cache-framework
Squidhttp://www.squid-cache.org
Cache Framework design philosophyhttps://docs.djangoproject.com/en/1.11/misc/design-philosophies/#cache-design-philosophy
https://docs.djangoproject.com/en/1.11/topics/cache/#setting-up-the-cache
CACHEShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES
CACHEShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES
https://docs.djangoproject.com/en/1.11/topics/cache/#memcached
Memcachedhttp://memcached.org/
python-memcachedhttps://pypi.python.org/pypi/python-memcached
pylibmchttps://pypi.python.org/pypi/pylibmc
BACKENDhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-BACKEND
LOCATIONhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-LOCATION
LOCATIONhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-LOCATION
LOCATIONhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-LOCATION
https://docs.djangoproject.com/en/1.11/topics/cache/#database-caching
BACKENDhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-BACKEND
LOCATIONhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-LOCATION
https://docs.djangoproject.com/en/1.11/topics/cache/#creating-the-cache-table
LOCATIONhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-LOCATION
createcachetablehttps://docs.djangoproject.com/en/1.11/ref/django-admin/#django-admin-createcachetable
createcachetablehttps://docs.djangoproject.com/en/1.11/ref/django-admin/#django-admin-createcachetable
migratehttps://docs.djangoproject.com/en/1.11/ref/django-admin/#django-admin-migrate
createcachetablehttps://docs.djangoproject.com/en/1.11/ref/django-admin/#django-admin-createcachetable
createcachetable --dry-runhttps://docs.djangoproject.com/en/1.11/ref/django-admin/#cmdoption-createcachetable-dry-run
https://docs.djangoproject.com/en/1.11/topics/cache/#multiple-databases
https://docs.djangoproject.com/en/1.11/topics/cache/#filesystem-caching
BACKENDhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-BACKEND
LOCATIONhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-LOCATION
https://docs.djangoproject.com/en/1.11/topics/cache/#local-memory-caching
BACKENDhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-BACKEND
LOCATIONhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-LOCATION
LOCATIONhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-LOCATION
https://docs.djangoproject.com/en/1.11/topics/cache/#dummy-caching-for-development
BACKENDhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-BACKEND
https://docs.djangoproject.com/en/1.11/topics/cache/#using-a-custom-cache-backend
BACKENDhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-BACKEND
CACHEShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES
https://docs.djangoproject.com/en/1.11/topics/cache/#cache-arguments
CACHEShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES
TIMEOUThttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-TIMEOUT
OPTIONShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-OPTIONS
OPTIONShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-OPTIONS
KEY_PREFIXhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-KEY_PREFIX
cache documentationhttps://docs.djangoproject.com/en/1.11/topics/cache/#cache-key-prefixing
VERSIONhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-VERSION
cache documentationhttps://docs.djangoproject.com/en/1.11/topics/cache/#cache-versioning
KEY_FUNCTIONhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-KEY_FUNCTION
cache documentationhttps://docs.djangoproject.com/en/1.11/topics/cache/#cache-key-transformation
https://docs.djangoproject.com/en/1.11/topics/cache/#the-per-site-cache
MIDDLEWAREhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-MIDDLEWARE
Order of MIDDLEWAREhttps://docs.djangoproject.com/en/1.11/topics/cache/#order-of-middleware
CACHE_MIDDLEWARE_ALIAShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHE_MIDDLEWARE_ALIAS
CACHE_MIDDLEWARE_SECONDShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHE_MIDDLEWARE_SECONDS
CACHE_MIDDLEWARE_KEY_PREFIXhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHE_MIDDLEWARE_KEY_PREFIX
HttpResponsehttps://docs.djangoproject.com/en/1.11/ref/request-response/#django.http.HttpResponse
CACHE_MIDDLEWARE_SECONDShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHE_MIDDLEWARE_SECONDS
CACHE_MIDDLEWARE_SECONDShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHE_MIDDLEWARE_SECONDS
Middlewarehttps://docs.djangoproject.com/en/1.11/topics/http/middleware/
CACHE_MIDDLEWARE_SECONDShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHE_MIDDLEWARE_SECONDS
cache_control()https://docs.djangoproject.com/en/1.11/topics/http/decorators/#django.views.decorators.cache.cache_control
never_cache()https://docs.djangoproject.com/en/1.11/topics/http/decorators/#django.views.decorators.cache.never_cache
using other headershttps://docs.djangoproject.com/en/1.11/topics/cache/#controlling-cache-using-other-headers
USE_I18Nhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-USE_I18N
languagehttps://docs.djangoproject.com/en/1.11/topics/i18n/#term-language-code
How Django discovers language preferencehttps://docs.djangoproject.com/en/1.11/topics/i18n/translation/#how-django-discovers-language-preference
languagehttps://docs.djangoproject.com/en/1.11/topics/i18n/#term-language-code
USE_L10Nhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-USE_L10N
current time zonehttps://docs.djangoproject.com/en/1.11/topics/i18n/timezones/#default-current-time-zone
USE_TZhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-USE_TZ
https://docs.djangoproject.com/en/1.11/topics/cache/#the-per-view-cache
https://docs.djangoproject.com/en/1.11/topics/cache/#django.views.decorators.cache.cache_page
CACHEShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES
CACHE_MIDDLEWARE_KEY_PREFIXhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHE_MIDDLEWARE_KEY_PREFIX
KEY_PREFIXhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-KEY_PREFIX
CACHEShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES
https://docs.djangoproject.com/en/1.11/topics/cache/#specifying-per-view-cache-in-the-urlconf
https://docs.djangoproject.com/en/1.11/topics/cache/#template-fragment-caching
USE_I18Nhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-USE_I18N
respect the active languagehttps://docs.djangoproject.com/en/1.11/topics/cache/#i18n-cache-key
translation-specific variableshttps://docs.djangoproject.com/en/1.11/topics/i18n/translation/#template-translation-vars
https://docs.djangoproject.com/en/1.11/topics/cache/#django.core.cache.utils.make_template_fragment_key
https://docs.djangoproject.com/en/1.11/topics/cache/#the-low-level-cache-api
https://docs.djangoproject.com/en/1.11/topics/cache/#accessing-the-cache
https://docs.djangoproject.com/en/1.11/topics/cache/#django.core.cache.caches
CACHEShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES
https://docs.djangoproject.com/en/1.11/topics/cache/#django.core.cache.cache
https://docs.djangoproject.com/en/1.11/topics/cache/#basic-usage
CACHEShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES
https://docs.djangoproject.com/en/1.11/topics/cache/#cache-key-prefixing
KEY_PREFIXhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-KEY_PREFIX
KEY_PREFIXhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-KEY_PREFIX
https://docs.djangoproject.com/en/1.11/topics/cache/#cache-versioning
VERSIONhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-VERSION
https://docs.djangoproject.com/en/1.11/topics/cache/#cache-key-transformation
KEY_FUNCTIONhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-KEY_FUNCTION
https://docs.djangoproject.com/en/1.11/topics/cache/#cache-key-warnings
INSTALLED_APPShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-INSTALLED_APPS
using a custom cache backendhttps://docs.djangoproject.com/en/1.11/topics/cache/#using-a-custom-cache-backend
BACKENDhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES-BACKEND
CACHEShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHES
https://docs.djangoproject.com/en/1.11/topics/cache/#downstream-caches
https://example.com/https://example.com/
http://www.squid-cache.org/http://www.squid-cache.org/
https://docs.djangoproject.com/en/1.11/topics/cache/#using-vary-headers
django.views.decorators.vary.vary_on_headers()https://docs.djangoproject.com/en/1.11/topics/http/decorators/#django.views.decorators.vary.vary_on_headers
django.views.decorators.vary.vary_on_cookie()https://docs.djangoproject.com/en/1.11/topics/http/decorators/#django.views.decorators.vary.vary_on_cookie
django.utils.cache.patch_vary_headers()https://docs.djangoproject.com/en/1.11/ref/utils/#django.utils.cache.patch_vary_headers
HttpResponsehttps://docs.djangoproject.com/en/1.11/ref/request-response/#django.http.HttpResponse
official Vary spechttps://tools.ietf.org/html/rfc7231.html#section-7.1.4
https://docs.djangoproject.com/en/1.11/topics/cache/#controlling-cache-using-other-headers
cache_control()https://docs.djangoproject.com/en/1.11/topics/http/decorators/#django.views.decorators.cache.cache_control
patch_cache_control()https://docs.djangoproject.com/en/1.11/ref/utils/#django.utils.cache.patch_cache_control
cache_control()https://docs.djangoproject.com/en/1.11/topics/http/decorators/#django.views.decorators.cache.cache_control
RFC 7234https://tools.ietf.org/html/rfc7234.html
max-agehttps://tools.ietf.org/html/rfc7234.html#section-5.2.2.8
CACHE_MIDDLEWARE_SECONDShttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-CACHE_MIDDLEWARE_SECONDS
cache_control()https://docs.djangoproject.com/en/1.11/topics/http/decorators/#django.views.decorators.cache.cache_control
IANA registryhttp://www.iana.org/assignments/http-cache-directives/http-cache-directives.xhtml
never_cache()https://docs.djangoproject.com/en/1.11/topics/http/decorators/#django.views.decorators.cache.never_cache
https://docs.djangoproject.com/en/1.11/topics/cache/#order-of-middleware
MIDDLEWAREhttps://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-MIDDLEWARE
Customizing authentication in Djangohttps://docs.djangoproject.com/en/1.11/topics/auth/customizing/
Conditional View Processing https://docs.djangoproject.com/en/1.11/topics/conditional-view-processing/
Back to Tophttps://docs.djangoproject.com/en/1.11/topics/cache/#top
Peter Inglesby donated to the Django Software Foundation to support Django development. Donate today! https://www.djangoproject.com/fundraising/
Django’s cache frameworkhttps://docs.djangoproject.com/en/1.11/topics/cache/
Setting up the cachehttps://docs.djangoproject.com/en/1.11/topics/cache/#setting-up-the-cache
Memcachedhttps://docs.djangoproject.com/en/1.11/topics/cache/#memcached
Database cachinghttps://docs.djangoproject.com/en/1.11/topics/cache/#database-caching
Creating the cache tablehttps://docs.djangoproject.com/en/1.11/topics/cache/#creating-the-cache-table
Multiple databaseshttps://docs.djangoproject.com/en/1.11/topics/cache/#multiple-databases
Filesystem cachinghttps://docs.djangoproject.com/en/1.11/topics/cache/#filesystem-caching
Local-memory cachinghttps://docs.djangoproject.com/en/1.11/topics/cache/#local-memory-caching
Dummy caching (for development)https://docs.djangoproject.com/en/1.11/topics/cache/#dummy-caching-for-development
Using a custom cache backendhttps://docs.djangoproject.com/en/1.11/topics/cache/#using-a-custom-cache-backend
Cache argumentshttps://docs.djangoproject.com/en/1.11/topics/cache/#cache-arguments
The per-site cachehttps://docs.djangoproject.com/en/1.11/topics/cache/#the-per-site-cache
The per-view cachehttps://docs.djangoproject.com/en/1.11/topics/cache/#the-per-view-cache
Specifying per-view cache in the URLconfhttps://docs.djangoproject.com/en/1.11/topics/cache/#specifying-per-view-cache-in-the-urlconf
Template fragment cachinghttps://docs.djangoproject.com/en/1.11/topics/cache/#template-fragment-caching
The low-level cache APIhttps://docs.djangoproject.com/en/1.11/topics/cache/#the-low-level-cache-api
Accessing the cachehttps://docs.djangoproject.com/en/1.11/topics/cache/#accessing-the-cache
Basic usagehttps://docs.djangoproject.com/en/1.11/topics/cache/#basic-usage
Cache key prefixinghttps://docs.djangoproject.com/en/1.11/topics/cache/#cache-key-prefixing
Cache versioninghttps://docs.djangoproject.com/en/1.11/topics/cache/#cache-versioning
Cache key transformationhttps://docs.djangoproject.com/en/1.11/topics/cache/#cache-key-transformation
Cache key warningshttps://docs.djangoproject.com/en/1.11/topics/cache/#cache-key-warnings
Downstream cacheshttps://docs.djangoproject.com/en/1.11/topics/cache/#downstream-caches
Using Vary headershttps://docs.djangoproject.com/en/1.11/topics/cache/#using-vary-headers
Controlling cache: Using other headershttps://docs.djangoproject.com/en/1.11/topics/cache/#controlling-cache-using-other-headers
Order of MIDDLEWAREhttps://docs.djangoproject.com/en/1.11/topics/cache/#order-of-middleware
Customizing authentication in Djangohttps://docs.djangoproject.com/en/1.11/topics/auth/customizing/
Conditional View Processinghttps://docs.djangoproject.com/en/1.11/topics/conditional-view-processing/
Table of contentshttps://docs.djangoproject.com/en/1.11/contents/
General Indexhttps://docs.djangoproject.com/en/1.11/genindex/
Python Module Indexhttps://docs.djangoproject.com/en/1.11/py-modindex/
Django 1.11 documentationhttps://docs.djangoproject.com/en/1.11/
Using Djangohttps://docs.djangoproject.com/en/1.11/topics/
FAQhttps://docs.djangoproject.com/en/1.11/faq/
Indexhttps://docs.djangoproject.com/en/stable/genindex/
Module Indexhttps://docs.djangoproject.com/en/stable/py-modindex/
Table of Contentshttps://docs.djangoproject.com/en/stable/contents/
Django Discord Serverhttps://chat.djangoproject.com
Official Django Forumhttps://forum.djangoproject.com/
Ticket trackerhttps://code.djangoproject.com/
HTMLhttps://media.djangoproject.com/docs/django-docs-1.11-en.zip
PDFhttps://media.readthedocs.org/pdf/django/1.11.x/django.pdf
ePubhttps://media.readthedocs.org/epub/django/1.11.x/django.epub
Read the Docshttps://readthedocs.org/
https://jb.gg/ybja10
JetBrains delivers intelligent software solutions that make developers more productive by simplifying their challenging tasks, automating the routine, and helping them adopt the best development practices. PyCharm is the Python IDE for Professional Developers by JetBrains providing a complete set of tools for productive Python, Web and scientific development. https://jb.gg/ybja10
https://sentry.io/for/django/
Monitor your Django Code Resolve performance bottlenecks and errors using monitoring, replays, logs and Seer an AI agent for debugging. https://sentry.io/for/django/
https://kraken.tech
Kraken is the most-loved operating system for energy. Powered by our Utility-Grade AI™ and deep industry know-how, we help utilities transform their technology and operations so they can lead the energy transition. Delivering better outcomes from generation through distribution to supply, Kraken powers 70+ million accounts worldwide, and is on a mission to make a big, green dent in the universe. https://kraken.tech
About Djangohttps://www.djangoproject.com/start/overview/
Getting Started with Djangohttps://www.djangoproject.com/start/
Team Organizationhttps://www.djangoproject.com/foundation/teams/
Django Software Foundationhttps://www.djangoproject.com/foundation/
Code of Conducthttps://www.djangoproject.com/conduct/
Diversity Statementhttps://www.djangoproject.com/diversity/
Join a Grouphttps://www.djangoproject.com/community/
Contribute to Djangohttps://docs.djangoproject.com/en/dev/internals/contributing/
Submit a Bughttps://docs.djangoproject.com/en/dev/internals/contributing/bugs-and-features/
Report a Security Issuehttps://docs.djangoproject.com/en/dev/internals/security/#reporting-security-issues
Individual membershiphttps://www.djangoproject.com/foundation/individual-members/
Getting Help FAQhttps://docs.djangoproject.com/en/stable/faq/
Django Discordhttps://chat.djangoproject.com
Official Django Forumhttps://forum.djangoproject.com/
GitHubhttps://github.com/django
Xhttps://x.com/djangoproject
Fediverse (Mastodon)https://fosstodon.org/@django
Blueskyhttps://bsky.app/profile/djangoproject.com
LinkedInhttps://www.linkedin.com/company/django-software-foundation
News RSShttps://www.djangoproject.com/rss/weblog/
Sponsor Djangohttps://www.djangoproject.com/fundraising/
Corporate membershiphttps://www.djangoproject.com/foundation/corporate-members/
Official merchandise storehttps://django.threadless.com/
Benevity Workplace Giving Programhttps://www.djangoproject.com/fundraising/#benevity-giving
Djangohttps://www.djangoproject.com/
In-kind donorshttps://www.djangoproject.com/fundraising/#in-kind-donors
Threespothttps://www.threespot.com
andrevvhttp://andrevv.com/
Django Software Foundationhttps://www.djangoproject.com/foundation/
registered trademarkhttps://www.djangoproject.com/trademarks/

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.