cacheservice base func & command