Caching tamplate parse result