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

How to use different network strategy #687

Open
harshagarwal-mono opened this issue Mar 17, 2024 · 0 comments
Open

How to use different network strategy #687

harshagarwal-mono opened this issue Mar 17, 2024 · 0 comments

Comments

@harshagarwal-mono
Copy link

I need to use different strategies for my service worker fetch events. I tried to add runtimeCaching but i don't think that is working for me. So i want that after my assets have been pre-cached they are always served using network-first strategy. So is there any way to do this ? I tried using runtimeCaching: [{ handler: 'NetworkFirst', urlPattern: /.*/ }],

I want to achieve that every route is served using NetworkFirst

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