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

Ability to exclude specific content from PWA caching #49

Open
JimKerslake opened this issue May 23, 2023 · 3 comments
Open

Ability to exclude specific content from PWA caching #49

JimKerslake opened this issue May 23, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@JimKerslake
Copy link
Collaborator

In practice this means implementing a configurable list of route slugs which will then get added to the set of URLs that the workbox service worker registers for the NetworkOnly strategy.

JimKerslake added a commit that referenced this issue May 25, 2023
JimKerslake added a commit that referenced this issue May 25, 2023
JimKerslake added a commit that referenced this issue May 25, 2023
@JimKerslake
Copy link
Collaborator Author

New config section

    "PwaNetworkOnlyUrlOptions": {
        "Urls": [
            "/excluded-page",
            "/excluded-page2"
        ]
    },

cloudscribe.PwaKit.Integration.CloudscribeCore 6.0.4
cloudscribe.PwaKit 6.0.4

@JimKerslake
Copy link
Collaborator Author

Needs a bug fix - the pattern matching in the JS for the NetworkOnly strategy never matches anything.

@JimKerslake
Copy link
Collaborator Author

cloudscribe.PwaKit 6.0.8 finally fixes the NetworkOnly strategy implementation bug

@JimKerslake JimKerslake self-assigned this Jun 9, 2023
@JimKerslake JimKerslake added the enhancement New feature or request label Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant