Enabled file caching

This commit is contained in:
Correl Roush 2010-09-22 22:30:38 -04:00
parent f6945e0fe7
commit b048a48b8e

View file

@ -73,6 +73,9 @@ MIDDLEWARE_CLASSES = (
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.cache.UpdateCacheMiddleware',
'django.middleware.cache.FetchFromCacheMiddleware',
)
ROOT_URLCONF = 'mtgweb.urls'
@ -94,3 +97,5 @@ INSTALLED_APPS = (
'django.contrib.admin',
'mtgweb.analyzer'
)
CACHE_BACKEND = 'file:///var/tmp/django_cache'