Store template fragments in separate cache

This makes clearing them less expensive
This commit is contained in:
Jake Howard 2022-10-02 17:32:32 +01:00
parent a2d1aff112
commit 1ae3288a73
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -128,6 +128,7 @@ CACHES = {
"renditions": env.cache(
var="RENDITION_CACHE_URL", default="locmemcache://renditions"
),
"template_fragments": env.cache(var="FRAGMENTS_CACHE_URL", default="dummycache://"),
}
# Allow the redirect importer to work in load-balanced / cloud environments.