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
Client side caching enabled. #1806
Conversation
|
Hmm, yeah - thanks for pointing that out. Not sure why that would be, I don't see anything obvious here 🤔 . |
I initially changed Note that these have the gear icon to indicate they were initiated by the service worker. When I updated a non-Root component ( |
* needs to be downloaded. Separating them will only | ||
* download runtime bundle and use the cached client code. | ||
*/ | ||
runtimeChunk: 'single', |
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 there any way to change the name of runtime
? Since it's specific to webpack it'd be nice if it was webpack-runtime
or something.
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.
Let me look into that. Not sure if that is possible.
Description
This is a follow up to #1691. That PR was causing issues when running in the
watch
mode. This PR addresses most of the changes addressed in that PR without service worker changes. For info about why these changes, check #1691Related Issue
Closes #1623.
Verification Steps
yarn build
.yarn stage:venia
.client.[hash].js
,runtime.[hash].js
,vendors.[hash].js
,downloaded apart from other files that are not of significance in this PR.registerSW.[hash].js
andsw.[hash].js
Screenshots / Screen Captures (if appropriate)
Check out #1623 for screenshots and metrics.
Checklist
watch
and stage` mode.