9

Apparently this can make websites stay up offline! : https://www.talater.com/upup/

Maybe some of the Ovarit devs can even look into it! :)

Apparently this can make websites stay up offline! : https://www.talater.com/upup/ Maybe some of the Ovarit devs can even look into it! :)

5 comments

How does it work?

UpUp uses service workers to determine when network requests fail. A service worker is a special script that runs in the browser in the background, and can see the status of network requests.

When the user first visits your site, UpUp registers a service worker with your browser, and gives it a list of files to cache for later.

The next time the user visits your site, the service worker listens for network errors. If a network request fails, and the service worker finds that file in the cache, it will return that file, as if it came from the network.