A caching HttpResponse in order to reduce the roundtrip (a lot)

This commit is contained in:
Oliver Falk
2020-03-04 14:23:58 +01:00
parent 07ba1c5a05
commit 476bddb21c
2 changed files with 43 additions and 8 deletions

View File

@@ -185,6 +185,11 @@ CACHES = {
'LOCATION': [
'127.0.0.1:11211',
],
},
'filesystem': {
'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
'LOCATION': '/var/tmp/ivatar_cache',
'TIMEOUT': 300,
}
}