Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Content encoding from origin server to Cloudflare?

What do you guys use for your dynamic PHP websites?
Especially using Nginx on the origin server.

zstd is nice but not yet supported by Cloudflare.

Thanked by 1oloke
Please vote and reply below as to why.
  1. Content encoding from origin to Cloudflare?27 votes
    1. Gzip
      44.44%
    2. Brotli
      55.56%

Comments

  • fuck it who even uses php nowadays react it

  • This forum LET uses PHP, :D and it seems they are using Brotli.

  • olokeoloke Member, Host Rep

    Brotli was made for web compression, it includes a hard-coded dictionary containing most common words and code snippets and initializes the LZ77 sliding window with it before compression.

    Quoting a paper from Brotli authors:

    Unlike other algorithms compared here, brotli includes a static dictionary. It contains 13’504
    words or syllables of English, Spanish, Chinese, Hindi, Russian and Arabic, as well as common
    phrases used in machine readable languages, particularly HTML and JavaScript. The total size
    of the static dictionary is 122’784 bytes. The static dictionary is extended by a mechanism of
    transforms that slightly change the words in the dictionary. A total of 1’633’984 sequences,
    although not all of them unique, can be constructed by using the 121 transforms. To reduce the
    amount of bias the static dictionary gives to the results, we used a multilingual web corpus of 93
    different languages where only 122 of the 1285 documents (9.5 %) are in languages supported
    by our static dictionary.

    That's why it usually performs really well on very short ( <500 B ) HTTP responses, whereas Gzip and Zstd need to fill their buffers to back reference anything. It puts them both at a bit of disadvantage to Brotli, so I always to prefer to use Brotli on the web as it was clearly made for it.

    That being said, Gzip is still better than not having compression at all and seems to be supported almost everywhere nowadays.

    The support for Zstd on the web was introduced quite recently and it's always nice to see a modern compression algorithm being adopted in so many places :)

    Both Brotli and Zstd improve the performance of entropy coder by using FSE instead of huffman implemented in gzip. The sliding window in modern algorithms is also more flexible than limited 32K of gzip.

  • @Rubben said:
    fuck it who even uses php nowadays react it

    Almost everyone here (companies), most are whmcs,blesta,...

  • @Roldan said:
    This forum LET uses PHP, :D and it seems they are using Brotli.

    this ass website looks like from the 90s so no surprise there

  • @Rubben said:

    @Roldan said:
    This forum LET uses PHP, :D and it seems they are using Brotli.

    this ass website looks like from the 90s so no surprise there

    The search is definetly some hot ass from the 90s

    Thanked by 2OhJohn yoursunny
  • Just don't use Cloudflare. Problem solved.

    Thanked by 1jnd
  • yoursunnyyoursunny Member, IPv6 Advocate

    @OhJohn said:
    Just don't use Cloudflare. Problem solved.

    Do you want to be DDoS’d offline 21 hours per day?
    Cloudflare is the web now.

    Thanked by 1bdspice
  • @Rubben said:

    @Roldan said:
    This forum LET uses PHP, :D and it seems they are using Brotli.

    this ass website looks like from the 90s so no surprise there

    Yes, let's use discourse so when you open let it will take you half of a fucking minute.

  • @woinokiz said:

    @Rubben said:
    fuck it who even uses php nowadays react it

    Almost everyone here (companies), most are whmcs,blesta,...

    Doesn't change the fact that it's ancient lol

  • niznetniznet Member
    edited September 2025

    Cloudflare does support zstd, but it is still in beta. You have to enable it manually in the compression rule.

  • @snowman11 said:

    @woinokiz said:

    @Rubben said:
    fuck it who even uses php nowadays react it

    Almost everyone here (companies), most are whmcs,blesta,...

    Doesn't change the fact that it's ancient lol

    Yeah then suck it

  • @woinokiz said:

    @snowman11 said:

    @woinokiz said:

    @Rubben said:
    fuck it who even uses php nowadays react it

    Almost everyone here (companies), most are whmcs,blesta,...

    Doesn't change the fact that it's ancient lol

    Yeah then suck it

    I'd gladly suck it, hit me up

    Thanked by 1oloke
  • RoldanRoldan Member
    edited September 2025

    @niznet said: Cloudflare does support zstd, but it is still in beta. You have to enable it manually in the compression rule.

    Which page specifically?
    I cannot find it on my domain using the pro plan.

    Edit: Seen it now, thanks.
    /rules/overview?type=http_response_compression

    Thanked by 1oloke
  • RoldanRoldan Member
    edited September 2025

    @niznet said: Cloudflare does support zstd, but it is still in beta.

    I just tried, and it will just force zstd compression from Cloudflare to the clients.
    It still doesn't support zstd from Origin server > Cloudflare > client end-to-end compression.

  • @Roldan said: It still doesn't support zstd from Origin server > Cloudflare > client end-to-end compression.

    True, you have to disable your origin server compression.

Sign In or Register to comment.