Hi, Thanks for the response and for sharing your code. It looks like it is exactly what I need. I am somewhat surprised that functionality is not a standard part of django.
I will give it a try sometime next week! Thanks again, Chuck On Aug 5, 5:17 pm, kmike <kmik...@googlemail.com> wrote: > 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 checkhttp://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 -~----------~----~----~----~------~----~------~--~---