Proposal for optional compilation and caching of Tilt templates

2010-05-08 Thread Philippe Monnet
I gave Magnus' excellent integration of Tilt a whirl today and really love it. It's also cool because you can match different types of templates at the same time (e.g. Markaby + HAML). I found that while prototyping it would be nice to not have Camping compile and cache Tilt templates. So I

Re: Proposal for optional compilation and caching of Tilt templates

2010-05-08 Thread Magnus Holm
Thanks for testing it out ;) I agree: we can't cache templates in development and you shouldn't need to set an option for that, however we also want Camping to be speedy out-of-box. What about applying your patch, but also make bin/camping set :dynamic_templates to true if it's not set already?