ipld / frisbii

An experimental minimal IPLD data provider for the IPFS network
Other
14 stars 2 forks source link

feat: --compression-level for gzip responses #56

Closed rvagg closed 11 months ago

rvagg commented 11 months ago

Accepts 0 to 9, defaults to no compression (0).

Includes handling of Accept-Encoding, setting of Content-Encoding, adjustment of Etag and setting proper Vary header.

rvagg commented 11 months ago

Running this on my wikipedia mirror and it looks like I'm compressing close to 50% on average, which is pretty neat.