Created
November 5, 2016 18:09
-
-
Save edwardgalligan/b634935f0c529dd718cc0d7d2e88dbb3 to your computer and use it in GitHub Desktop.
Chrome Service Worker Link Header
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
HTTP/1.1 200 OK | |
Content-Type: text/html | |
Content-Length: 0 | |
Link: </serviceworker.js>;rel="serviceworker" | |
Refresh: 0 |
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', e => e.respondWith(new Response('Hello world!'))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment