[M]Add cache timeout for template