From 5b0ed9bce8853ef80875c024a8cc686f2dda0e6a Mon Sep 17 00:00:00 2001 From: Herculino Trotta Date: Sun, 13 Oct 2024 15:55:55 -0300 Subject: [PATCH] feat: add FileBasedCache --- app/WYGIWYH/settings.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/WYGIWYH/settings.py b/app/WYGIWYH/settings.py index 94ef8d1..f933bb3 100644 --- a/app/WYGIWYH/settings.py +++ b/app/WYGIWYH/settings.py @@ -185,6 +185,13 @@ STATICFILES_FINDERS = [ "django.contrib.staticfiles.finders.AppDirectoriesFinder", ] +CACHES = { + "default": { + "BACKEND": "django.core.cache.backends.filebased.FileBasedCache", + "LOCATION": "/var/tmp/django_cache", + } +} + WEBPACK_LOADER = { "MANIFEST_FILE": ROOT_DIR / "frontend/build/manifest.json", }