Cache string templates rather than going to disk