# Revision history [back]

The issue you are having is cache collision. We'll fix this by the next release.

At the moment I think the only way around it is to have separate cache engines set up for the two sites, the downside is inefficient use of memory and having an extra process running.

The issue you are having is cache collision. We'll fix this by the next release.

At the moment I think the only way around it is to have separate cache engines set up for the two sites, the downside is inefficient use of memory and having an extra process running.

Secondly, theoretically it is possible to add support for the django.contrib.sites package that would allow running multiple sites from one installation, but this is low on our priority list right now.

The issue you are having is cache collision. We'll fix this by the next release.

At the moment I think the only way around it is to have separate cache engines set up for the two sites, the downside is inefficient use of memory and having an extra process running.

Secondly, theoretically it is possible to add support for the django.contrib.sites package that would allow running multiple sites from one installation, database, but this is low on our priority list right now.now. And this would not fix the caching issue by itself.

The issue you are having is due to cache collision. We'll fix this by "mixups" between the next release.sites.

At the moment I think the only way around it is edited: with Django 1.3 you could try setting up CACHES settings variable and add distinct KEY_PREFIX value to have separate cache engines set up for the two sites, the downside is inefficient use all of memory and having an extra process running.your sites.

Secondly, theoretically it is possible to add support for the django.contrib.sites package that would allow running multiple sites from one database, but this is low on our priority list right now. And this would not fix the caching issue by itself.For example:

CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': 'unix:/tmp/memcached.sock', 'KEY_PREFIX': 'siteA', } }

That way caches will be differentiated between sites and you can host several on the same server.

The issue is due to cache "mixups" between the sites.

edited: with Django 1.3 you could try setting up CACHES settings variable and add distinct KEY_PREFIX value to all of your sites.

For example:

CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'unix:/tmp/memcached.sock',
'KEY_PREFIX': 'siteA',
}
}}


That way caches will be differentiated between sites and you can host several on the same server.