#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

1
I added cache_enabled = False to my development.ini.
This seems to work. I believe my version is 0.9.6.2.

Think you've got a better solution? Help 92049143cabb7ba896d7c06e19906303_small yliu out by posting your solution

PylonsHQ - Documentation - pylons.decorators.cache – Cache Decorators

http://beta.pylonshq.com/docs/en/0.9.7/modules/decorators_cache/ - found by 92049143cabb7ba896d7c06e19906303_small 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.

Tags: Pylons caching documentation python