Only cache views when debugging is disabled #5

Merged
merged 4 commits into from Aug 19, 2011

2 participants

@mattburton

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
@martinrue
Owner

Thanks Matt, much appreciated :)

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