Re: [w3c/ServiceWorker] consider using navigation preload response when respondWith() is not called (Issue #1611)

> do you know how much this strategy is being used in practice?

I don't have numbers, but Facebook were keen on using it. It seems pretty good practice if you're able to serve a shell without going to the network.

> Are they using Vary: Service-Worker-Navigation-Preload to prevent answering from the HTTP cache (say hard refresh)?

I'm not sure, although content that differs per user (which is common for navigation targets) tends to be `no-cache`/`no-store` (like the headers for this page)

-- 
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/1611#issuecomment-961253637

Received on Thursday, 4 November 2021 17:18:44 UTC