Make cachesAPI.match similar to caches.match