summaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-01-03 14:22:01 -0600
committerDan McGee <dan@archlinux.org>2012-01-03 14:22:01 -0600
commit5a91a246a848248eb8ec9d9402791c34e5ca0f6b (patch)
tree3de37b4b8f3ecfd6c1d7cf390a3dfb469f8a6926 /settings.py
parent3b545d23b6ddb0ee843e9f792863615d69ceca5f (diff)
downloadarchweb-5a91a246a848248eb8ec9d9402791c34e5ca0f6b.tar.gz
archweb-5a91a246a848248eb8ec9d9402791c34e5ca0f6b.zip
Remove all cache middleware
It's time to stop serving up stale pages. Remove this middleware caching and start pushing it down to spots where we can actually control it more appropriately (and only cache things that are expensive anyway). 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 a898381a..a760ce84 100644
--- a/settings.py
+++ b/settings.py
@@ -67,7 +67,6 @@ TEMPLATE_LOADERS = (
# This bug is a real bummer:
# http://code.djangoproject.com/ticket/14105
MIDDLEWARE_CLASSES = (
- 'main.middleware.UpdateCacheMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
@@ -75,7 +74,6 @@ MIDDLEWARE_CLASSES = (
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.http.ConditionalGetMiddleware',
'django.middleware.doc.XViewMiddleware',
- 'django.middleware.cache.FetchFromCacheMiddleware',
)
ROOT_URLCONF = 'urls'