Only cache views when debugging is disabled #5

merged 4 commits into from Aug 19, 2011

2 participants


Quick change to control view caching based on whether the site is setup for debugging or not:

In a production scenario the "debug" attribute is (should be) set to false (or removed entirely) in which case views will be cached for the best performance. During the tweak/reload development cycle they will be recompiled each time instead of having to restart the development web server to see your changes.

@martinrue martinrue merged commit 25a3c5b into martinrue:master Aug 19, 2011

Thanks Matt, much appreciated :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment