Skip to content
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

If start_url exists in the manifest.json, precaching will always add start_url path, can it be changed to configurable? #543

Open
daidaishuo opened this issue May 9, 2023 · 0 comments

Comments

@daidaishuo
Copy link

daidaishuo commented May 9, 2023

in source code
if (pwa.manifest && pwa.manifest.start_url) { options.preCaching.unshift(...normalizePreCaching(pwa.manifest.start_url)); }

When I use the ssr method to render application, some data will be acquired in the node server and injected into the html.
If the user installs the pwa application and enters application from the icon, the page will not request the node server to obtain new html due to the start_url cache configuration.

@daidaishuo daidaishuo changed the title If start_url exists, precaching will always add start_url, can it be changed to configurable? If start_url exists in the manifest.json, precaching will always add start_url path, can it be changed to configurable? May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant