#22: Pylons - how to turn off caching completely
Solved!
Using Pylons 0.9.6, it would be desireable to turn off template caching completely at the Beaker level so that template changes would be reflected immediately during development.
cache_enabled = False
- hannes on February 27, 2009, 10:03 PM UTC
I added cache_enabled = False to my development.ini.
This seems to work. I believe my version is 0.9.6.2.
This seems to work. I believe my version is 0.9.6.2.
Think you've got a better solution? Help yliu out by posting your solution
/pylons/decorators/cache.py – Pylons – Trac
http://pylonshq.com/project/pylonshq/browser/pylons/decorators/cache.py - found by yliu on February 27, 2009, 07:03 PM UTC
PylonsHQ - Documentation - pylons.decorators.cache – Cache Decorators
http://beta.pylonshq.com/docs/en/0.9.7/modules/decorators_cache/ - found by yliu on February 27, 2009, 07:11 PM UTC
In 0.9.7, it implies a global cache_enabled variable in the .ini file turns off all caching.