removed iffes for cacheService functions, they are not needed