logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Zstd support and use ?
Author
bagu



Joined: 06 Jan 2011
Posts: 193
Location: France

PostPosted: Tue 14 May '24 22:49    Post subject: Zstd support and use ? Reply with quote

Hello,

Does apache support zstd compression ? And, if yes, how to use it as prefered compression ?

Thanks
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7389
Location: EU, Germany, Next to Hamburg

PostPosted: Wed 15 May '24 9:47    Post subject: Reply with quote

No, it doesn't support it yet. deflate/gzip(zlib), and brotli.

Example with brotli prefered

Code:

<IfModule mod_deflate.c>
        AddOutputFilterByType BROTLI;DEFLATE text/html text/plain text/xml text/php text/css text/js text/javascript text/javascript-x application/x-javascript font/truetype
        AddOutputFilterByType BROTLI;DEFLATE application/javascript
                AddOutputfilterByType BROTLI;DEFLATE application/vnd.mozilla.xul+xml
        DeflateCompressionLevel 9
</IfModule>
Back to top
bagu



Joined: 06 Jan 2011
Posts: 193
Location: France

PostPosted: Wed 15 May '24 21:43    Post subject: Reply with quote

Ok, thanks.

Hope it will be supported in the future.
Back to top
zhangdaoming



Joined: 08 Feb 2025
Posts: 3

PostPosted: Sat 08 Feb '25 15:45    Post subject: Reply with quote

bagu wrote:
Ok, thanks.

Hope it will be supported in the future.


you need the https://github.com/foglede/mod_zstd Cool

and request @admin @Steffen Compile windows module

zstd has fewer dependencies than brotli

and zstd support HTTP1 ,brotli at least Http 2
————
I correct brotli Http1 support too


Last edited by zhangdaoming on Tue 11 Feb '25 2:55; edited 1 time in total
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7389
Location: EU, Germany, Next to Hamburg

PostPosted: Mon 10 Feb '25 17:40    Post subject: Reply with quote

Bagu please review the supported browsers on https://caniuse.com/?search=brotli vs https://caniuse.com/?search=zstd
Back to top
zhangdaoming



Joined: 08 Feb 2025
Posts: 3

PostPosted: Tue 11 Feb '25 2:50    Post subject: Reply with quote

James Blond wrote:
Bagu please review the supported browsers on https://caniuse.com/?search=brotli vs https://caniuse.com/?search=zstd


sure, This is normal;
zstd rfc standard is later than br.

https://datatracker.ietf.org/doc/html/rfc8878

and
zstd benchmark eg:
https://peazip.github.io/fast-compression-benchmark-brotli-zstandard.html

https://aminshamim.medium.com/gzip-deflate-brotli-and-zstd-which-compression-algorithm-should-you-use-for-your-website-033ca5cfa7ca

the topic bagu sir hope support zstd Wink
Back to top


Reply to topic   Topic: Zstd support and use ? View previous topic :: View next topic
Post new topic   Forum Index -> Apache