Why wouldn't you just use a Service Worker for this?
Kind of similar to the content of this article, I wish people were more upfront with their reasoning. Doing something because "it's rad" is definitely fine by me!
As always: when I doubt, it was likely because of CV-driven development