mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
❄️ Make separate redis db for static content
This commit is contained in:
@@ -269,7 +269,7 @@ CACHES = {
|
||||
},
|
||||
"static_content": {
|
||||
"BACKEND": "django_redis.cache.RedisCache",
|
||||
"LOCATION": f"redis://{REDIS_HOST}:6379",
|
||||
"LOCATION": f"redis://{REDIS_HOST}:6379/2",
|
||||
"TIMEOUT": env(
|
||||
"STATIC_CACHE_TIMEOUT", default=86400
|
||||
), # Cache timeout in seconds: 1 day
|
||||
|
||||
Reference in New Issue
Block a user