Support media caching in Tauri

Parent: #680

The Tauri app doesn’t have service workers ([bug] Allow service worker registration on custom schemes for macOS (eg. tauri://) · Issue #13031 · tauri-apps/tauri · GitHub), which Borogove’s default media cache uses to serve images.

It looks like we could use service workers if we use the localhost plugin, but Tauri recommends against that: Localhost | Tauri

We could maybe use the filesystem plugin: File System | Tauri

Child ticket: #737

Can Tauri not use service workers?

so we can if we use the localhost plugin, but given they recommend not doing that, i think it’s worth looking into alternatives.

maybe we just use the localhost plugin in the end if this proves too difficult

Maybe this ticket is a bit too prescriptive. Will change it to “make it work” basically and then figure out how