PWA dynamic caching #11401
Unanswered
Seanitzel
asked this question in
CLI - PWA mode
PWA dynamic caching
#11401
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am building a pretty big app with different features, and I don't want the service worker to precache all the apps resources on initial load, which is what currently happens when running
precacheAndRoute(self.__WB_MANIFEST);
When i remove this line from the custom-service-worker and try to build I get an error:
Also when not using precacheAndRoute and trying to implement my own dynamic caching instead:
It doesn't work, the fetch event callback is not being fired.
How can I implement my own dynamic caching strategy?
Beta Was this translation helpful? Give feedback.
All reactions