Cache remote templates