Can a worker domain own its cache?
cache.match() always returns null. Am I using cache incorrectly? I'm trying to
- check for cache.match(request.url) (request.url = workerDomain/data?type=1)
- if no match, generate data via expensive function
- waitFor(cache.put(request.url, new Response(data)