X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c3af41ec13e26ad2b4cb000291ff989dc1b3686f..807d88a6bbd34865987b59a757e7b4ef3b3fc718:/src/wolnelektury/settings/cache.py diff --git a/src/wolnelektury/settings/cache.py b/src/wolnelektury/settings/cache.py index 107ac0db7..ce873cbc4 100644 --- a/src/wolnelektury/settings/cache.py +++ b/src/wolnelektury/settings/cache.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # @@ -9,14 +8,6 @@ CACHES = { '127.0.0.1:11211', ] }, - 'ssify': { - 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', - 'TIMEOUT': None, - 'KEY_PREFIX': 'ssify', - 'LOCATION': [ - '127.0.0.1:11211', - ], - }, 'template_fragments': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'TIMEOUT': 86400, @@ -24,6 +15,10 @@ CACHES = { '127.0.0.1:11211', ], }, + 'machina_attachments': { + 'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache', + 'LOCATION': '/tmp', + }, } CACHE_MIDDLEWARE_SECONDS = 24 * 60 * 60