-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
feat(gatsby-plugin-offline): Allow precaching custom pages #16877
feat(gatsby-plugin-offline): Allow precaching custom pages #16877
Conversation
Co-Authored-By: Sidhartha Chatterjee <me@sidharthachatterjee.com>
…/gatsby into offline-plugin-custom-code
|
] | ||
``` | ||
|
||
# <<<<<<< HEAD |
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.
is this a merge issue here?
Blocked by #11626 |
…ck for existence of index.html; update tests
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.
LGTM!
…16877) * Allow precaching custom pages rather than just the offline shell * Document this and add tests
Description
Add an option
precachePages
togatsby-plugin-offline
to allow adding resources for specified pages to the service worker precache.Related Issues
Closes #16431
Additional Notes
Includes changes of #11626 since the plugin options need to be separated from Workbox options in both PRs, and it's assumed we will merge that one first