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
Brotli not compressing for small bodies
I am trying to compress a small HTTP response with the data of [].
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Vary: Accept-Encoding
Date: Thu, 30 Mar 2023 15:50:03 GMT
Connection: close
Transfer-Encoding:…

Kevin L Xu
- 158
- 1
- 2
- 8
0
votes
1 answer
Multiple brotli processes at the same time
I currently have to compress several thousand files (~40-80MB each) with brotli and get them ready for an s3 bucket.
From what i've researched so far, brotli can't multithread the compression so, brotli.exe uses ~10% of the cpu. How can I iterate…

Horia Hodis
- 3
- 1
0
votes
0 answers
add "Content-Encoding: br" header in Firebase
I deployed a js project on Firebase that is basically a container for a Unity WebGL app.
I am using Brotli as a compression format for the Unity build data that need to be loaded when the page is opened. However, it seems Firebase doesn't support br…

Bnjmo Med
- 1
- 1
0
votes
0 answers
Error after compile ngx_pagespeed.so module nginx version 1.22.1
Would it be worth to put nginx http2, varnish, ngx_pagespeed module, redis all combined?
I have this doubt, yesterday I tried to install ngx_pagespeed on my server but it gave me an error in console after compile:
sudo nginx -t
nginx: [emerg]…

Fernando Balta Jhong
- 317
- 1
- 3
- 7
0
votes
0 answers
React with brotli compress (webpack) and Nginx
I'm zipping the front-end files in react and setting up a server in nginx to serve them.
Using gzip compression, I managed to get the server to return the front-end files normally, everything working correctly.
I find it difficult to do the same…

rick
- 554
- 6
- 18
0
votes
0 answers
Not getting plain text response using Cronet Engine with Brotli enabled
I am using CronetEngine for making a network request as below
val engine: CronetEngine = CronetEngine.Builder(context).enableQuic(false)
.enableBrotli(true)
.enableHttp2(false).build()
val…

WISHY
- 11,067
- 25
- 105
- 197
0
votes
0 answers
Brotli not being served with AWS amplify but gzip files are
I'm using Aws amplify to host a vue3 app, I have got webpack bulding the .gz & .br files, have updated my redirect in aws amplify to ^[^.]+$|.(?!(gz|br|css|gif|ico|jpg|js|png|txt|svg|woff|woff2|ttf|map|json)$)([^.]+$)/>
so as gz and br are…

David Stanton
- 65
- 10
0
votes
1 answer
Resolve preact Brotli build conflict: same filename
current behavior
preact build --brotli prints the following error:
‼ WARN Conflict: Multiple assets emit different content to the same filename .br
other relevant information
My app is a standard preact-cli 'Default' (preact-cli template).
Not…

jsgbc
- 3
- 3
0
votes
1 answer
switch from brotly-sys to Dropbox brotli
I used Brotly-sys but it seems unmaintened.
So I use Brotli.
I do an interface to compress and decompress (I use lzma and zstd too):
use std::io::{self, Write};
pub use brotli::writer::DecompressorWriter;
pub use…

Vana
- 753
- 3
- 11
- 20
0
votes
0 answers
Compression nor working properly for web server in vertx
I enabled brotli compression on server side in vertex by added a compressor with StandardCompressionOptions.brotli() and enabled setCompressionSupported(true) on server option before creating server.
But In response I am getting compressed data…
0
votes
0 answers
Nginx Brotli dlopen failed (libc.musl-x86_64.so.1: cannot open shared object file: No such file or directory)
Error:
nginx: [emerg] dlopen() "/etc/nginx/modules/ngx_http_brotli_filter_module.so" failed (/etc/nginx/modules/ngx_http_brotli_filter_module.so: cannot open shared object file: No such file or directory) in /etc/nginx/nginx.conf:7
Nginx Brotli…

Newbie Dev
- 1
- 1
- 1
0
votes
0 answers
Exception in thread "main" java.lang.NoSuchFieldError: BROTLI- Talend Job spark with parquet file
Running any spark job from talend remote I get this error. The same jobs run locally do not generate errors. Does anyone have any suggestions?
The job should write a parquet file but it generates this error
after a long run
0
votes
1 answer
nginx configured with brotli is not compressing large JSON responses
We have a web app server with nginx running in an apline container on Google Cloud.
nginx is built from source, since the spnego plugin we need is only available as source.
The server runs django, and 95% of the responses are JSON data (some can be…

rep_movsd
- 6,675
- 4
- 30
- 34
0
votes
0 answers
Nginx Brotli header not added
I'm pulling my hairs for days trying to serve brotli compressed files through my local nginx install.
My configuration :
MacOS 12.6, Homebrew, Laravel Valet for managing sites and ssl
default nginx install replaced with nginx-full homebrew…

Pierre
- 4,976
- 12
- 54
- 76
0
votes
0 answers
how to divide the handling of gzip/brotli compression between nodeJs and nginx reverse proxy?
i have setup nginx as a reverse proxy for my nodejs app, now i have some static files which are pre-compressed to brotli and gzip and are returned upon request.
app.use(
expressStaticGzip(path.join(__dirname, 'public'), {
enableBrotli: true
…

john d
- 1
- 1