TemplateCache is a utility which helps caching templates.