Re: @cache_control() and @never_cache not working

2009-01-30 Thread BluMarble
Thanks for the help Thomas, unfortunetly it wouldn't be within budget to port this site over to 1.0. Will however look into the link you provided. On Jan 29, 12:50 pm, Tomas Kopecek wrote: > In that version (0.96) of Django was bug in combination of these > decorators and CacheMiddleware. If you

Re: @cache_control() and @never_cache not working

2009-01-29 Thread Tomas Kopecek
In that version (0.96) of Django was bug in combination of these decorators and CacheMiddleware. If you can use upstream version then everything will be working. Otherwise look for these (closed) tickets on http://code.djangoproject.com and patch your version. Tomas Kopecek --~--~-~--~--

Re: @cache_control() and @never_cache not working

2009-01-28 Thread BluMarble
Anyone? --~--~-~--~~~---~--~~ 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...@

@cache_control() and @never_cache not working

2009-01-27 Thread BluMarble
Hi, I'm pretty new to django so please bear with me. The Server: lighttpd python 2.5 django 0.96 The Code: >>> settings.py # Cache settings CACHE_MIDDLEWARE_SECONDS = 5*60 CACHE_BACKEND = 'file:///var/www/data/some_project/tmp/file_cache/? timeout=300&max_entries=500' # Middleware MIDDLEWARE_