Adding template cache injection