hey @mauve, what's the status of transparent compression (files being stored compressed and then being decompressed when accessing them) in DWeb protocols/browsers?

would just saving index.html.br instead of index.html work?

@Nulo I haven't seen anyone doing this. For IPFS you might bs losing deduplication which could suck. I'd be down to chat more about the protocol handlers in Agregore if you wanna open an issue about it.

Follow

@Nulo To be clear, doing this in the p2p context. The usw of pre-compression inSutty's HTTP server is really neat.

@mauve :) i found some threads talking about it, but no implementation, and it seems very silly not to do. especially because more often than not, DWeb sites have much more JS or big JSON files to compensate for the lack of backend.

thought of it while experimenting in "tofufirme" (gitea.nulo.in/Nulo/tofufirme ) which is a thing that packages up a static website into a SQLite file with only brotli compressed versions. because browsers generally support it, it should be possible to serve these exclusively without any processing in the server :)

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.