make function cacheGet more flexible t be compatible with ACF10