Template compiler has caching