Brotli is a compression algorithm, first released in 2013 for web font compression and then used more widely for HTTP compression.
Questions tagged [brotli]
153 questions
0
votes
1 answer
Compression not working in asp.net + angular + unity application
so I am building an asp.net+angular app in which I am placing a webgl unity build. I am trying to add brotli compression but for some reason, in the response headers, I am not shown the content-encoding property and I am still getting the following…

MarkoFire
- 69
- 5
0
votes
0 answers
Decode a string encoded with Brotli returned by Android Volley
I'm sending an http request to a website using Volley (POST and StringRequest). The call is correctly executed. However, I can see that the result is a string codified. When seeing the headers of the answer I can see it is encoded in br, which means…

Learning from masters
- 2,032
- 3
- 29
- 42
0
votes
1 answer
Write Sensor Data to Disk while Minimizing Total Disk Writes and Total Filesize
I am collecting sensor data for several render nodes every 15 seconds, and I plan to let this data collection run indefinitely. The data isn't particularly high resolution and contains a lot of repeated values, so it makes sense to compress it. The…

joejoejoejoe4
- 1,206
- 1
- 18
- 38
0
votes
1 answer
Brotli Gzip compression AWS
I have gone through various stack overflow questions on the "br/gzip" compression. Have some doubts around it.
AWS takes care of compression when configured correctly. Please correct understanding on following points,
On the first request…

Parag Diwan
- 3,007
- 2
- 19
- 37
0
votes
0 answers
Use brotli compression as a middleware
Hey guys I am trying to create a middleware that compresses the response depending on the "Accept-Encoding" header. I have created this logic according:
func compress(h http.Handler) http.Handler {
return http.HandlerFunc(func(w…

Accio
- 74
- 1
- 8
0
votes
1 answer
Does Brotli compress better with a larger window?
What is the window size in Brotli?
Is it true that setting a larger window size improves the compression ratio?

porton
- 5,214
- 11
- 47
- 95
0
votes
0 answers
I manually add `Content-Encoding: br` and it does not work
Using homemade proxy software that adds/removes headers as specified (yes, I violate proxy standards), I add Content-Encoding: br to a file in Brotli format served by the upstream:
docker run --net=host --rm proxy /root/proxy/target/release/proxy…

porton
- 5,214
- 11
- 47
- 95
0
votes
1 answer
How to use Brotli in JMeter?
I am setting up a load test in which I need to send a compressed brotli csv file to the backend in the body of the request.
I tried to add the compressed data that comes from the frontend directly to the body of the request. Compress the data in…

Actticus
- 55
- 1
- 6
0
votes
1 answer
webdrivermanager-java brotli CVE?
Looking to use webdrivermanager-java version 5.1.0
It has a dependency on org.brotli:dec 0.1.2 (dec-0.1.2.jar), which was released in 2017.
NVD reports CVS-2020-8927 about brotli versions before 1.0.8 - but it's not specific to native or java…

Bob Bogardus
- 1
- 1
0
votes
1 answer
How To Remove Brotli Compression and Gzip Compression from a Directory with .htaccess
My hosting plan is cPanel with OpenLiteSpeed instead of Apache. I turned on Compress All Content setting in cPanel. This appears to use gzip in some places, brotli in others. Now I need to prevent some directories from having this compression. The…

Volomike
- 23,743
- 21
- 113
- 209
0
votes
1 answer
Algorithm "brotliCompress" is not found in "zlib"
I have installed compression-webpack-plugin using this link and added Compression plugin in plugin section of webpack.config.js file as suggested here
When I run npm run build I am getting an error
Algorithm "brotliCompress" is not found in…

Imad
- 7,126
- 12
- 55
- 112
0
votes
2 answers
Getting error "libbrotli needed" when compiling woff2
I am trying to compile google/woff2 for 3 days but getting error "libbrotli needed". I was able compile brotli by running CMakeLists.txt in brotli folder and got .so files. I am beginner so I don't know to link both together. I want to compile and…

Porush Manjhi
- 135
- 12
0
votes
1 answer
Can I use Cloudflare's Brotli along with GZIP Included in my .htaccess File?
I would like to know if I could use Brotli compression provided by Cloudflare along with GZIP compression included in my .htaccess file? Would there be any reasons any one of you would not recommend doing that?
Best regards,
Tug

Tug
- 5
- 2
0
votes
1 answer
Unable to upload brotli precompressed Json
I have very little understanding of the c# streams. I'm trying to upload brotli compressed json into azure storage.
private async Task UploadJSONAsync(BlobClient blob, object serializeObject, CancellationToken cancellationToken)
{
var json =…

Erik Philips
- 53,428
- 11
- 128
- 150
0
votes
1 answer
Is it possible to set Brotli compression level dynamically based on the request headers in Nginx?
I'm using Brotli for response compression, and doing this in Nginx using nginx-brotli module.
I would like to set the value for brotli_comp_level dynamically based on the request headers, so that clients on slow networks could request higher…

Guig
- 9,891
- 7
- 64
- 126