[Luis] add createCacheTemplate public to be used by the migration script