mirror of https://github.com/django/django.git
Fixed #15509 -- corrected a typo in the cache docs. Thanks Paul.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
380906b946
commit
f5bbeb147b
|
@ -448,7 +448,7 @@ The cache middleware caches every page that doesn't have GET or POST
|
|||
parameters. Optionally, if the :setting:`CACHE_MIDDLEWARE_ANONYMOUS_ONLY`
|
||||
setting is ``True``, only anonymous requests (i.e., not those made by a
|
||||
logged-in user) will be cached. This is a simple and effective way of disabling
|
||||
caching for any user-specific pages (include Django's admin interface). Note
|
||||
caching for any user-specific pages (including Django's admin interface). Note
|
||||
that if you use :setting:`CACHE_MIDDLEWARE_ANONYMOUS_ONLY`, you should make
|
||||
sure you've activated ``AuthenticationMiddleware``. The cache middleware
|
||||
expects that a HEAD request is answered with the same response headers as
|
||||
|
|
Loading…
Reference in New Issue