sidewinder icon indicating copy to clipboard operation
sidewinder copied to clipboard

Configure caching

Open stribny opened this issue 1 year ago • 1 comments

We could use e.g. database or Redis caching in development and Redis caching on the server since Redis is already available.

https://docs.djangoproject.com/en/4.2/topics/cache/

stribny avatar Sep 01 '23 20:09 stribny

CACHES = {
    "default": {
        "BACKEND": "django.core.cache.backends.redis.RedisCache",
        "LOCATION": env.str("REDIS_URL", default="redis://127.0.0.1:6379?db=1"),
    }
}

stribny avatar Sep 29 '24 15:09 stribny