attempting to cache templates