Question 4 of 10Pro Only
How do you use Service Workers to implement advanced caching strategies and improve performance?
Sample answer preview
A Service Worker is a script that runs in the background, on its own thread, separate from any page. It sits between the application and the network as a programmable proxy: it can intercept every fetch the page makes and decide whether to answer from cache, go to the network,…
service workercache firstnetwork firststale-while-revalidateprecacheskipWaiting