This is the sixth video in the Understanding Service Workers series.
This video explains how to use the respondWith method, combined with using the Fetch API and the Cache API to intercept and manage every file asset request that comes from the browser.
Code from video: gist.github.com/prof3ssorSt3v3/5c3368c26f7051963e7…
Full Service Worker Video Playlist: • Service Workers - Registration, LifeCycle,...
MDN reference for respondWith: developer.mozilla.org/en-US/docs/Web/API/FetchEven…
コメント