template cache as a standalone module