For Workes & Pages, what is the name of the domain?
gz.selfhost.sotre br.selfhost.store
What is the issue or error you’re encountering
the correct way to change the gzip/br content compression rule ?
What steps have you taken to resolve the issue?
I bind my domain to my cloudflarepages site, and use the “Compression Rules” to change the compression , the rules is : if request.full contains gz. , use gzip , if request.full contains br., use br . now i have 2 domain , gz.xxx.com and br.xxx.com, but i didnt see a bundled size reduction between those , and through webpagetest i cant see any speed improvement in br compression over gzip, is there any problems to my settings?
Although Brotli offers better compression ratios than Gzip, in such a smaller scale it does not make that big of a difference, but there is indeed some size reduction if you compare them.
So as you can see, br does indeed compress a bit more - note that this isn’t always the case though, and there are legitimate use cases where gz might be a better choice.
Overall I prefer to leave them both enabled and let the client decide.
This was a good practical exercise to show the differences in compression though.