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.
return
waitUntil
8:59am
51° N , 0° E
Also on Twitter
Reply Retweet Favourite
« Newer Older »
Have you published a response to this? Let me know the URL: