Skip to content

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

@daidaishuo

Description

@daidaishuo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions