mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-07-07 21:35:23 +02:00
feat: add FileBasedCache
This commit is contained in:
@@ -185,6 +185,13 @@ STATICFILES_FINDERS = [
|
|||||||
"django.contrib.staticfiles.finders.AppDirectoriesFinder",
|
"django.contrib.staticfiles.finders.AppDirectoriesFinder",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
CACHES = {
|
||||||
|
"default": {
|
||||||
|
"BACKEND": "django.core.cache.backends.filebased.FileBasedCache",
|
||||||
|
"LOCATION": "/var/tmp/django_cache",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
WEBPACK_LOADER = {
|
WEBPACK_LOADER = {
|
||||||
"MANIFEST_FILE": ROOT_DIR / "frontend/build/manifest.json",
|
"MANIFEST_FILE": ROOT_DIR / "frontend/build/manifest.json",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user