Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #8698: Updated overview docs for cache middleware to show that …

…it's been split into two classes

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 7b70bf9 commit 82e2f9bb984236de70aec842003b2442853139e9 @ubernostrum ubernostrum committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 docs/ref/middleware.txt
6 docs/ref/middleware.txt
@@ -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>`.

0 comments on commit 82e2f9b

Please sign in to comment.
Something went wrong with that request. Please try again.