Re: [w3c/ServiceWorker] Service worker cache localisation (#1453)

It's also worth reading https://web.dev/google-search-sw/#problem:-experiments-and-dynamism, which describes the approach the Google Search team took when implementing a service worker: they took advantage of the control offered by dynamically generating a service worker script server-side, based on the incoming HTTP request.

There's an extra burden of maintaining the server-side code, and it's a different approach when you start thinking about using the service worker API "dynamically," but it does give you the most flexibility.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1453#issuecomment-515465943

Received on Friday, 26 July 2019 14:03:53 UTC