Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add caching configuration #91

Open
keimlink opened this issue Jan 12, 2016 · 0 comments
Open

Add caching configuration #91

keimlink opened this issue Jan 12, 2016 · 0 comments
Labels

Comments

@keimlink
Copy link
Member

The project should have a caching configuration. Preferably with a Redis backend for public sites, because it allows a more fine grained control of the cache. This means django-redis-cache and hiredis must be added to extras_require.

For development the django.core.cache.backends.dummy.DummyCache backend should be used by default.

The BACKEND, LOCATION, VERSION and OPTIONS settings of the default cache backend should be configurable using environment variables.

Also, the session backend should use the faster Redis cache:

SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"
@keimlink keimlink added the ready label Jan 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant