added caching for mustache templates