Open stribny opened 1 year ago
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/
CACHES = { "default": { "BACKEND": "django.core.cache.backends.redis.RedisCache", "LOCATION": env.str("REDIS_URL", default="redis://127.0.0.1:6379?db=1"), } }
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/