summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-21 07:19:31 +0200
committerDan McGee <dan@archlinux.org>2010-06-21 07:19:31 +0200
commit702531680825f97b48ec671fb844ee7036d1b968 (patch)
tree4bd65585a1937207cc151e1647d6bd62c1a84b7e
parentd767658debf24fe26ba42eae0f339868d7faa2b4 (diff)
downloadarchweb-702531680825f97b48ec671fb844ee7036d1b968.tar.gz
archweb-702531680825f97b48ec671fb844ee7036d1b968.tar.xz
Cache everything, not just anonymous only
We should be well-protected by the "Vary: Cookie" header, and if we aren't then we need to fix those pages that matter. This is the final step in getting at least the heaviest hit part of our site to be served without any Vary headers at all- the feeds. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--settings.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/settings.py b/settings.py
index 13c6cc8..f163d39 100644
--- a/settings.py
+++ b/settings.py
@@ -55,8 +55,6 @@ MIDDLEWARE_CLASSES = (
'django.middleware.cache.FetchFromCacheMiddleware',
)
-CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True
-
ROOT_URLCONF = 'urls'
TEMPLATE_DIRS = (