Skip to content
Browse files

Improve caching

  • Loading branch information...
1 parent 376833f commit 8bd953b3229ddd4d0c5c06f961a3aed28dd8d54d Remigijus Jarmalavičius committed Mar 19, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 settings.py
View
6 settings.py
@@ -79,8 +79,8 @@
CACHES = {
'default': {
- 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
- 'LOCATION': '/tmp/django_cache',
- 'TIMEOUT': 600,
+ 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
+ 'LOCATION': 'something-unique',
+ 'TIMEOUT': 3600,
}
}

0 comments on commit 8bd953b

Please sign in to comment.
Something went wrong with that request. Please try again.