keep template in cache