first implementation of cached_get to simplify GET operations