diff options
| author | Ćukasz Langa <lukasz@langa.pl> | 2013-05-18 16:10:14 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-05-18 17:38:32 +0200 |
| commit | bd97f7d0cb72191744552142817184e88ce8841d (patch) | |
| tree | 744c8cbd6b1d087a56f758ee48dc47ae96747cb6 /docs/ref | |
| parent | 398841d6d3fce45b21bdfcd8385889098079f84a (diff) | |
Fixed #15201: Marked CACHE_MIDDLEWARE_ANONYMOUS_ONLY as deprecated
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/settings.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index eb470cdd14..8ef59064f7 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -280,6 +280,12 @@ CACHE_MIDDLEWARE_ANONYMOUS_ONLY Default: ``False`` +.. deprecated:: 1.6 + + This setting was largely ineffective because of using cookies for sessions + and CSRF. See the :doc:`Django 1.6 release notes</releases/1.6>` for more + information. + If the value of this setting is ``True``, only anonymous requests (i.e., not those made by a logged-in user) will be cached. Otherwise, the middleware caches every page that doesn't have GET or POST parameters. @@ -287,8 +293,6 @@ caches every page that doesn't have GET or POST parameters. If you set the value of this setting to ``True``, you should make sure you've activated ``AuthenticationMiddleware``. -See :doc:`/topics/cache`. - .. setting:: CACHE_MIDDLEWARE_KEY_PREFIX CACHE_MIDDLEWARE_KEY_PREFIX |
