Created
May 2, 2024 20:33
-
-
Save ahmetilhn/01f3dc4fb334e82656ac13b4f366e4e3 to your computer and use it in GitHub Desktop.
Service worker network only cache strategy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.addEventListener('fetch', event => { | |
event.respondWith( | |
fetch(event.request) | |
); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment