Ticket #4763: cache.diff
File cache.diff, 700 bytes (added by , 17 years ago) |
---|
-
django_src/docs/cache.txt
543 543 If you use ``CacheMiddleware``, it's important to put it in the right place 544 544 within the ``MIDDLEWARE_CLASSES`` setting, because the cache middleware needs 545 545 to know which headers by which to vary the cache storage. Middleware always 546 adds something t he ``Vary`` response header when it can.546 adds something to the ``Vary`` response header when it can. 547 547 548 548 Put the ``CacheMiddleware`` after any middlewares that might add something to 549 549 the ``Vary`` header. The following middlewares do so: