Put partials in the template cache.