![]() | 1 | initial version |
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.
![]() | 2 | No.2 Revision |
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.
![]() | 3 | No.3 Revision |
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.
![]() | 4 | No.4 Revision |
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 For example: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.
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.
![]() | 5 | No.5 Revision |
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.