Hi,
I've recently create an app for advanced view caching. It allow pages
to be cached based on anything in request, specific cookies for
example.
Please check http://bitbucket.org/kmike/django-view-cache-utils/wiki/Home

If you have any questions about it feel free to ask.

On 5 авг, 20:11, cwurld <chuck.c.mar...@gmail.com> wrote:
> Hi,
>
> I have been successfully running a multi-language site for a while
> now. The users language pref is stored (along with other data) in a
> cookie.
>
> Recently, I have been trying to cache some of the more common and
> processor intensive views. Since the language code is not in the url,
> I can't figure out how to cache pages based on language.
>
> I looked in to the vary_on_header decorator, but I do not see how to
> get that to work since the cookies vary on lots of stuff in addition
> to language and I doubt I can get my users to change the Accept-
> Language attribute in the request header.
>
> Any ideas?
>
> Thanks,
> Chuck

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to