add options atom
add toggle control to turn template caching on/off
update a comment
always clear the cache when toggling it on/off