Questions tagged [brotli]

Brotli is a compression algorithm, first released in 2013 for web font compression and then used more widely for HTTP compression.

153 questions
0
votes
1 answer

How to enable gzip compression instead of brotli compression on OLS + DA?

I'm using Litespeed plugin for wordpress (From LiteSpeed Technologies), with a litespeed server, and despite what I do, it is not compressing javascript and css, and there's no option in the plugin for setting up "js & css" by the way. I already…
Brave Warrior
  • 33
  • 1
  • 9
0
votes
1 answer

req.body is undefined after installing express-static-gzip

I recently added express-static-gzip to my server and have since noticed that my req.body is undefined in my router.post when submitting a form. Previously it was working without issue but now I am getting a POST 500 internal server error, a Cannot…
DuckSoup
  • 91
  • 5
0
votes
1 answer

Haproxy seemingly substitutes brotli with gzip in "Accept-Encoding" header

Im struggling to figure out why haproxy seemingly replaces br with gzip in "Accept-Encoding" header as request passes haproxy. My application currently structured like this: HAPROXY(tls termination) -> varnish -> apache So I test like this: curl…
Dannyboy
  • 1,963
  • 3
  • 20
  • 37
0
votes
1 answer

How to check browser's support for brotli compression on client application side?

I am asking this question for educational purposes. I have hosted my static assets on S3 with Cloud front. I want to apply brotli and gzip compression during the build process. As per articles available on various platforms It is possible to add…
Always_a_learner
  • 4,585
  • 13
  • 63
  • 112
0
votes
2 answers

XAMPP .htaccess AddEncoding br brotli

I install no my MacOs HighSierra fresh XAMPP (osx-7.4.6-0-vm) and start it - server runs on IP 192.168.64.2 . Then I mount /opt/lampp and click to Explore. The Finder window open and I go to directory htdocs/. Then inside htdocs I create folder…
Kamil Kiełczewski
  • 85,173
  • 29
  • 368
  • 345
0
votes
1 answer

Appache - problem with download file compressed by br (brotli)

I have file /path/to/work/myProject/webgl.wasm which is compressed using br (brotli). I setup apache on MacOs using docker and use following .htaccess file in myProject directory: AddType application/wasm .wasm …
Kamil Kiełczewski
  • 85,173
  • 29
  • 368
  • 345
0
votes
1 answer

Serving Compressed files through Google storage

I want to serve the static files for my website from Google storage buckets. For that I want to compress the files, Thought of using Brotli compression but some browsers are not supporting Brotli compression. So they are suggesting to use gzip as a…
siva
  • 51
  • 1
  • 5
0
votes
1 answer

Decoding Brotli in Delphi

How can I decode a http response compressed with Brotli in Delphi, with either Indy or ICS libraries? Neither of them seem to include support for it by default.
hikari
  • 3,393
  • 1
  • 33
  • 72
0
votes
0 answers

Does flask webservice API support Brotli-compressed request?

I'd like to have a REST webservice endpoint written with Flask (python3) which accepts a message compressed with Brotli. Is it supported in Flask? A workaround which thought of is to have a non-compressed request body similar to this: { …
motosx
  • 19
  • 2
0
votes
1 answer

Implement Express Static in Apostrophe CMS

this is an Apostrophe CMS question entirely. Piggy-backing off this question, which was never answered, I decided to ask my question here on Stack Overflow. I could not find the topic…
Starfs
  • 412
  • 1
  • 5
  • 18
0
votes
1 answer

How to view brotli compressed files on browser?

I'm trying to static serve brotli compressed files. I was able to compress files with this code: // node.js const compressStream = require("iltorb").compressStream; const fs = require("fs"); const wrr =…
Wajahath
  • 2,827
  • 2
  • 28
  • 37
0
votes
0 answers

Reading Rusoto S3 StreamingBody into something that Brotli can decompress

Version 0.32 of rusuto_s3's StreamingBody, which is returned when requesting a file from AWS S3, does not implement Read anymore. Up to this version, brotli::BrotliDecompress(&mut &*would_like_to_pass_this, &mut contents); was the way I would get…
manonthemat
  • 6,101
  • 1
  • 24
  • 49
0
votes
1 answer

Compile issue with mod_brotli and apache 2.4.33

Getting the below issue with including mod_brotli support for Apache 2.4.33. I compiled brotli which compiled fine but when i enable it in apache configure script using --enable-brotli and --with-brotli=/apps/httpdx64/brotli. I get the below error…
AR01
  • 21
  • 5
0
votes
1 answer

Data compression libraries: brotli vs zlib

Which data compression works best for compressing javascript files when downloaded from any website: brotli or zlib ?
Steric
  • 386
  • 4
  • 12
0
votes
1 answer

How to use the brotli npm module to compress files

I would like to use this npm module to compress files, but I'm a bit stuck by the documention. In a linux shell : npm install brotli # npm@4.1.2 # brotli@1.3.1 node # v6.9.4 Then inside node: var fs = require('fs'); var brotli =…
Ratnoz
  • 125
  • 1
  • 6
1 2 3
10
11