Add concept of template's cache support