Kaydet (Commit) 82e2f9bb authored tarafından James Bennett's avatar James Bennett

Fixed #8698: Updated overview docs for cache middleware to show that it's been…

Fixed #8698: Updated overview docs for cache middleware to show that it's been split into two classes


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 7b70bf9e
......@@ -20,9 +20,11 @@ Cache middleware
.. module:: django.middleware.cache
:synopsis: Middleware for the site-wide cache
.. class:: django.middleware.cache.CacheMiddleware
.. class:: django.middleware.cache.UpdateCacheMiddleware
Enables the site-wide cache. If this is enabled, each Django-powered page will
.. class:: django.middleware.cache.FetchFromCacheMiddleware
Enable the site-wide cache. If these are enabled, each Django-powered page will
be cached for as long as the :setting:`CACHE_MIDDLEWARE_SECONDS` setting
defines. See the :ref:`cache documentation <topics-cache>`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment