Hi! I've tried to use never_cache from django.views.decorators.cache, however my page was still getting cached by my ISP's transparent proxy and/or my browser. I've checked that the headers that this decorator adds were e.g.:
Expires: Thu, 06 Sep 2007 19:08:26 GMT Last-Modified: Thu, 06 Sep 2007 19:08:27 GMT ETag: 9b1e968e196553e7767d6378bfd0dc06 Cache-Control: max-age=0 For some reason it doesn't seem to reliably prevent from caching the page (time/date setting on the proxy? assuming that the proxy can't deal with ETag. I had no time to investigate deeply). The question is - how about equipping Django with a decrator that adds typical 'Pragma: no-cache' (for HTTP/1.0) and 'Cache-Control: no-cache, no-store' ? This is the most commonly used way, and it works perfectly fine for me. 'Cache-Control: private' would do the trick as well. Best Regards, Przemyslaw --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---