Change cache in template