draft
Last updated 18th of July 2024

A shared service worker for app-logic

A lot of websites uses an excessive amount of JavaScript to render pages. This can be quite resource intensive, especially for website you tend to have several tabs open for. Some websites that provides internal tabs (figma, vscode etc.) somewhat mitigate the tab-problem, but does not integrate into the browser-native tabs.

By moving the app logic to the service worker, it can push html pages and updates to super simple clients.

Huge spoiler alert: I have no idea (yet) if this is actually a good idea, but it has been something I have been trying out with great success so far.