summaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-21 00:19:31 -0500
committerDan McGee <dan@archlinux.org>2010-06-21 00:19:31 -0500
commit702531680825f97b48ec671fb844ee7036d1b968 (patch)
tree4bd65585a1937207cc151e1647d6bd62c1a84b7e /settings.py
parentd767658debf24fe26ba42eae0f339868d7faa2b4 (diff)
downloadarchweb-702531680825f97b48ec671fb844ee7036d1b968.tar.gz
archweb-702531680825f97b48ec671fb844ee7036d1b968.zip
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>
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/settings.py b/settings.py
index 13c6cc88..f163d39c 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 = (