I guys.
I´m using Django 3.1.6 with the sessions, but for performance i´m trying to add memcached but without luck.
In the settings added:
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '10.200.1.53:11211',
}
}
installed the memcached and the packaged python-memcached.
But when i try to store anything on the session the server crashes with the following error:
RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable.
Thanks!