Fixed #4763 -- Minor typo in cache documentations. Thanks, dan@coffeecode.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
119c6005a6
commit
7df9e7da5b
|
@ -543,7 +543,7 @@ Order of MIDDLEWARE_CLASSES
|
|||
If you use ``CacheMiddleware``, it's important to put it in the right place
|
||||
within the ``MIDDLEWARE_CLASSES`` setting, because the cache middleware needs
|
||||
to know which headers by which to vary the cache storage. Middleware always
|
||||
adds something the ``Vary`` response header when it can.
|
||||
adds something to the ``Vary`` response header when it can.
|
||||
|
||||
Put the ``CacheMiddleware`` after any middlewares that might add something to
|
||||
the ``Vary`` header. The following middlewares do so:
|
||||
|
|
Loading…
Reference in New Issue