Hello.
I have a problem with caching of templates. Sometimes users get the
pages, that opened before. I don't khow the reason.
Is it possible to turn off all the caching in whole pylons-project?
--~--~-~--~~~---~--~~
You received this message because you are subscr
As far as I know, Pylons does not enable caching by default (including
template caching).
You can turn off caching by not configuring beaker.cache.* inside .ini file.
There are a couple of places you can also check:
* your render() method might contain cache_expire
* some of your mako files may c
#baker.cache... is commented in development.ini
Also, add
response.headers['Cache-Control'] = 'no-store'
response.headers['Pragma'] = 'no-cache'
response.headers['Expires'] = datetime.datetime.now
().strftime("%a, %d %b %Y %H:%M:%S GMT")
return rend