Start to register sw.js

Fetch via virtual host

Click the fetch button to get "./txt_from_local_asset", which will be fulfilled by SW fetching a kServiceWorkerSubResource via virtual host mapping.



Fetch from service worker cache

Click the fetch button to get "./image_from_cache", the image cached previously by SW's install handler will be served.



Fetch from network

Click the fetch button to get an image from external network, without involving cache and virtual host mapping.