Comment by pseudosavant

12 days ago

I’ve thought about doing something similar, but at the Service Worker layer so the page stays the same and all HTTP requests are intercepted.

Similar to the window.stop() approach, requests would truncate the main HTML file while the rest of that request would be the assets blob that the service worker would then serve up.

The service worker file could be a dataURI to keep this in one file.