Quantcast
Channel: How to cache with redis being on different server - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by 2ps for How to cache with redis being on different server

use settings.CACHES. If you are using django-redis, you can do the following: CACHES = { "default": { "BACKEND": "django_redis.cache.RedisCache", "LOCATION": "redis://127.0.0.1:6379/1", "OPTIONS": {...

View Article



How to cache with redis being on different server

I have an app server which holds the Django app, and another server for caching. I am thinking to use Redis for caching. How do I pass the IP of the Redis server to my Django app?

View Article
Browsing all 2 articles
Browse latest View live




Latest Images