Enable caching via DB and update cache timeouts

This commit is contained in:
badblocks 2025-03-15 21:51:23 -07:00
parent 9ce5d525b3
commit 27c7238a82
11 changed files with 281 additions and 283 deletions

View file

@ -286,7 +286,7 @@ if DEBUG:
else:
CACHES = {
"default": {
"BACKEND": "django.core.cache.backends.locmem.LocMemCache",
"LOCATION": "unique-snowflake",
"BACKEND": "django.core.cache.backends.db.DatabaseCache",
"LOCATION": "site_cache",
}
}