Add memcached

Seahub caches items (avatars, profiles, etc) on the file system in /tmp/seahub_cache/ by default. You can replace it with Memcached. You need to install

  • memcached
  • python memcached modules: pylibmc and django-pylibmc

To install the python modules:

sudo pip install pylibmc
sudo pip install django-pylibmc

Then add the following lines to

    'default': {
        'BACKEND': 'django_pylibmc.memcached.PyLibMCCache',
        'LOCATION': '',

results matching ""

    No results matching ""