Discover Centmin Mod today
Register Now

Beta Branch add optional Nginz zstd module support in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jun 20, 2024.

  1. eva2000

    eva2000 Administrator Staff Member

    59,369
    12,513
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,149
    Local Time:
    3:10 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    add optional Nginz zstd module support in 130.00beta01

    - Centmin Mod Nginx supports both gzip and optional brotli compression content encoding methods. This update adds optional zstd content encoding compression support via NGINX_ZSTD='y' variable and GitHub - tokers/zstd-nginx-module: Nginx modules for the Zstandard compression.
    - Google Chrome now supports zstd content encoding Chrome Platform Status as per RFC8878 RFC 8878: Zstandard Compression and the 'application/zstd' Media Type. You can see state of web browser support at zstd (Zstandard) content-encoding | Can I use... Support tables for HTML5, CSS3, etc. To be able to use zstd content encoding, the client and/or web browser needs to support zstd first.

    Example using custom built curl 8.9.0 HTTP/3 quic binary I created that supports gzip, brotli and zstd - showing HTTP response with 'Content-Encoding: zstd' from Centmin Mod Nginx server built with zstd Nginx module via NGINX_ZSTD='y'

    Code (Text):
    curl -I -H "Accept-Encoding: zstd" localhost
    HTTP/1.1 200 OK
    Date: Thu, 20 Jun 2024 01:06:12 GMT
    Content-Type: text/html; charset=utf-8
    Last-Modified: Sat, 08 Jun 2024 22:55:56 GMT
    Connection: keep-alive
    Vary: Accept-Encoding
    ETag: W/"6664e17c-11a3"
    Content-Encoding: zstd
    Server: nginx centminmod
    X-Powered-By: centminmod



    Code (Text):
    curl -V
    curl 8.9.0-DEV (x86_64-pc-linux-gnu) libcurl/8.9.0-DEV quictls/3.1.5 zlib/1.2.13 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.62.1 ngtcp2/1.6.0 nghttp3/1.4.0 OpenLDAP/2.6.8
    Release-Date: [unreleased]
    Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
    Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd


    Continue reading...

    130.00beta01 branch

    Support Centmin Mod


    If you find Centmin Mod useful, please help support Centmin Mod