mauricemach / coffeekup

Markup as CoffeeScript.
coffeekup.org
MIT License
1.26k stars 83 forks source link

why is the cache turned off by default? #72

Closed jaekwon closed 13 years ago

jaekwon commented 13 years ago

I'm using coffeekup on the client from a django project. I noticed that IE7 was slow to render a list of widgets, and noticed that turning on caching helped. Is there a reason why caching is off by default? There was nothing noted on the README file. #question

mauricemach commented 13 years ago

Caching is an optimization and prevents templates from being recompiled, which is something we want in production but not in development, most of the time. And development mode is also usually the default.

Yeah, I should put a link to /docs/reference.md on the README and the website. This is where the options are documented.