-
Notifications
You must be signed in to change notification settings - Fork 805
New issue
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
Adds support for changing the options used when calling fetch() #1340
Conversation
@@ -181,6 +186,7 @@ class NetworkFirst { | |||
try { | |||
response = await fetchWrapper.fetch( | |||
event.request, | |||
this._fetchOptions, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a bug in the current codebase—the plugins array was being passed as the second parameter in this invocation, instead of the third parameter.
(The joy of positional arguments...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome, thanks Jeff.
Would still like to keep the other issue open for doc changes.
PR-Bot Size PluginChanged File Sizes
New FilesNo new files have been added. All File SizesView Table
Workbox Aggregate Size Plugin☠️ WARNING ☠️We are using 156% of our max size budget. Total Size: 22.81KB Gzipped: 9.12KB |
R: @addyosmani @gauntface
This is related to #1131.
I don't know if we want to mark it as fixed once this is merged—that issue tracks docs, and while this PR adds the code that's required, along with JSDocs, I guess we could still put together a standalone guide on d.g.c.