|
@@ -283,7 +283,8 @@ CACHE_MIDDLEWARE_ALIAS
|
|
|
|
|
|
Default: ``default``
|
|
|
|
|
|
-The cache connection to use for the cache middleware.
|
|
|
+The cache connection to use for the :ref:`cache middleware
|
|
|
+<the-per-site-cache>`.
|
|
|
|
|
|
.. setting:: CACHE_MIDDLEWARE_KEY_PREFIX
|
|
|
|
|
@@ -292,7 +293,9 @@ CACHE_MIDDLEWARE_KEY_PREFIX
|
|
|
|
|
|
Default: ``''`` (Empty string)
|
|
|
|
|
|
-The cache key prefix that the cache middleware should use.
|
|
|
+A string which will be prefixed to the cache keys generated by the :ref:`cache
|
|
|
+middleware <the-per-site-cache>`. This prefix is combined with the
|
|
|
+:setting:`KEY_PREFIX <CACHES-KEY_PREFIX>` setting; it does not replace it.
|
|
|
|
|
|
See :doc:`/topics/cache`.
|
|
|
|
|
@@ -303,8 +306,8 @@ CACHE_MIDDLEWARE_SECONDS
|
|
|
|
|
|
Default: ``600``
|
|
|
|
|
|
-The default number of seconds to cache a page when the caching middleware or
|
|
|
-``cache_page()`` decorator is used.
|
|
|
+The default number of seconds to cache a page for the :ref:`cache middleware
|
|
|
+<the-per-site-cache>`.
|
|
|
|
|
|
See :doc:`/topics/cache`.
|
|
|
|