support recursive '**' globbing syntax for querying cache