@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" (https://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 :)
@Nulo To be clear, doing this in the p2p context. The usw of pre-compression inSutty's HTTP server is really neat.