# CacheMiddleware settings
CACHE_BACKEND = "locmem:///"
CACHE_MIDDLEWARE_KEY_PREFIX = 'beegee'
CACHE_MIDDLEWARE_SECONDS = 60 * 5

MIDDLEWARE_CLASSES = (
        "django.middleware.sessions.SessionMiddleware",
        "django.middleware.locale.LocaleMiddleware",
"django.middleware.cache.CacheMiddleware",
        "django.middleware.common.CommonMiddleware",
)

What ever the order of the middleware the CacheMiddleware does not
seems to work correctly with the LocaleMiddleware. I keep flipping
between different languages when switching between pages, while I did
not push any language buttons. Also, when I switched languages it more
than once does not switch at all.

Does anybody have any experience in enabling cache on a multi lingual
Django website?

Thanks!

Berry


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to