GardenHub icon indicating copy to clipboard operation
GardenHub copied to clipboard

Use a better cache

Open alexgleason opened this issue 6 years ago • 0 comments

Info on caching in Django: https://docs.djangoproject.com/en/dev/topics/cache/

We're using the default cache, LocMemCache, which requires no special configuration but it's not as fast as other caches. We can speed this up by using Memcached or Redis.

I propose we alter settings/production.py to detect a REDIS_URL or similar environment variable and switch to using the proper service in the presence of that.

alexgleason avatar Feb 01 '18 16:02 alexgleason