adding cache size to template