Ticket #8698: 8698-middleware-docs-cachemiddleware.diff
File 8698-middleware-docs-cachemiddleware.diff, 770 bytes (added by , 16 years ago) |
---|
-
docs/ref/middleware.txt
20 20 .. module:: django.middleware.cache 21 21 :synopsis: Middleware for the site-wide cache 22 22 23 .. class:: django.middleware.cache. CacheMiddleware23 .. class:: django.middleware.cache.UpdateCacheMiddleware 24 24 25 Enables the site-wide cache. If this is enabled, each Django-powered page will 25 .. class:: django.middleware.cache.FetchFromCacheMiddleware 26 27 Enable the site-wide cache. If these are enabled, each Django-powered page will 26 28 be cached for as long as the :setting:`CACHE_MIDDLEWARE_SECONDS` setting 27 29 defines. See the :ref:`cache documentation <topics-cache>`. 28 30