March 28th, 2020

Replying to a tweet from @betterThanMin

The return part still happens first though. The waitUntil ensures that the service worker doesn’t “hang up” while you’re getting the fresh version from the network, but while that’s happening, the user has been served the cached file.

51° N , 0° E

Also on Twitter

Reply Retweet Favourite

Have you published a response to this? :