nginx-brotli | Compile Nginx from source with Brotli support
kandi X-RAY | nginx-brotli Summary
kandi X-RAY | nginx-brotli Summary
Compile Nginx from source with Brotli support on Debian and Ubuntu.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of nginx-brotli
nginx-brotli Key Features
nginx-brotli Examples and Code Snippets
Community Discussions
Trending Discussions on nginx-brotli
QUESTION
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 compression. How can I achieve this?
I tried to no avail:
...ANSWER
Answered 2021-Jul-01 at 11:53It is not possible with the stock/packaged Brotli module from NGINX Plus.
You can, however, custom compile (not recommended for production) with the following pull request integrated.
Or, if the budget allows, use the nginx-module-brotli
module package from NGINX Extras, which has the aforementioned pull request integrated into the packages. This option requires a CentOS/RHEL machine and maintaining a paid subscription with GetPageSpeed.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nginx-brotli
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page