-
Notifications
You must be signed in to change notification settings - Fork 2
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
Deployment: remove memcached #294
Comments
Isn't memcached use for caching instead of sessions? 🤔 Default for sessions is db storage: so just don't set it for production should be the way to go for this
|
Production config is as follows: CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'localhost:11211',
'KEY_PREFIX': 'dienst2',
}
}
SESSION_ENGINE = 'django.contrib.sessions.backends.cache' And I don't think the cache is used anywhere else? |
Django does some automatic caching for some stuff, but not sure what exactly 😅 We could also switch the cache to db or maybe local memory |
Local memory cache + sessions in database sounds like the way to go. |
Resolved with #311 |
Let's just create sessions in the database instead of deploying memcached.
The text was updated successfully, but these errors were encountered: