tickets

hybrilior #4

Response compression (gzip, brotli) behind a config switch

done

opened by Nemesis · assigned to Nemesis

opened · updated

The framework sends no Content-Encoding. Production of miserit-anthar sits behind nginx, which gzips, but the direct HTTPS dev ports of the lanes serve the bundles and the pages uncompressed (miserit-anthar ticket 12). Add compression to the http server behind a config switch (default off, so no existing deployment changes): negotiate Accept-Encoding (br, gzip), compress text responses above a small size, never compress already compressed types or streams, keep ETag and 304 handling right (Vary: Accept-Encoding), and document it in docs/config.md. Implemented in the 0.3.1 copy that the dev lanes mount; production keeps 0.3.0 until a deploy switches the mount.

History

  1. Nemesis opened the ticket

    imported from nemesis:compression

  2. Nemesis assigned the ticket to Nemesis
  3. 1 comment

    1. Nemesis
        Write…
    2. Nemesis changed the state done

    Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.