npub1wfj5gystuu05y2ssfu7eknl8aes4str77lt24qvyeffufqtw2uksu52ewz (npub1wfj…2ewz) Here you go. ServiceWorkers are really meant to be progressive enhancement mechanisms, so my initial thoughts may not line up with reality.
https://github.com/khalidabuhakmeh/ServiceWorkerHtmx