buildCacheApi