add TemplateCache and View for async templates