We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect support data (ex. Chrome says "86" but support was added in "40")
The table says Cache.add is supported since 1.26 (added in this PR), but it is not. It wasn't supported in 1.26 and it isn't in 1.28.1
Deno
No support
Run Deno REPL:
> const cache = await caches.open("test"); cache.add("https://google.com"); Uncaught TypeError: cache.add is not a function at <anonymous>:3:7
#18056 https://developer.mozilla.org/en-US/docs/Web/API/Cache/add#browser_compatibility
The official Deno documentation doesn't mention it either: https://deno.land/api@v1.28.1?s=Cache
The "source" given by @bartlomieju and looked over by @queengooborg also doesn't mention add or addAll as well.
add
addAll
Searching for addAll in the Deno repository leads me to believe that the two methods are only supported in Workers, but I don't really know.
https://developer.mozilla.org/en-US/docs/Web/API/Cache/add
api.Cache.add
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What type of issue is this?
Incorrect support data (ex. Chrome says "86" but support was added in "40")
What information was incorrect, unhelpful, or incomplete?
The table says Cache.add is supported since 1.26 (added in this PR), but it is not. It wasn't supported in 1.26 and it isn't in 1.28.1
What browsers does this problem apply to, if applicable?
Deno
What did you expect to see?
No support
Did you test this? If so, how?
Run Deno REPL:
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
#18056
https://developer.mozilla.org/en-US/docs/Web/API/Cache/add#browser_compatibility
Do you have anything more you want to share?
The official Deno documentation doesn't mention it either: https://deno.land/api@v1.28.1?s=Cache
The "source" given by @bartlomieju and looked over by @queengooborg also doesn't mention
add
oraddAll
as well.Searching for
addAll
in the Deno repository leads me to believe that the two methods are only supported in Workers, but I don't really know.MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/Cache/add
MDN metadata
MDN page report details
api.Cache.add
The text was updated successfully, but these errors were encountered: