From 5a91a246a848248eb8ec9d9402791c34e5ca0f6b Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 3 Jan 2012 14:22:01 -0600 Subject: 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 --- settings.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'settings.py') diff --git a/settings.py b/settings.py index a898381a..a760ce84 100644 --- a/settings.py +++ b/settings.py @@ -67,7 +67,6 @@ # 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 @@ 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.http.ConditionalGetMiddleware', 'django.middleware.doc.XViewMiddleware', - 'django.middleware.cache.FetchFromCacheMiddleware', ) ROOT_URLCONF = 'urls' -- cgit v1.2.3-54-g00ecf