Adding helper function to use cache_get directly