How to install vmod-brotli on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
Varnish Fetch Processor for brotli de-/compression
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | aarch64 | x86_64 | Version |
|---|---|---|---|---|
| RHEL 10 | Varnish 6.0 LTS | 6.0.18+0.1.0 | ||
| RHEL 9 | Varnish 6.0 LTS | 6.0.18+0.1.0 | ||
| RHEL 8 | Varnish 6.0 LTS | 6.0.18+0.1.0 | ||
| RHEL 7 | Varnish 6.0 LTS | 6.0.18+0.1.0 |
Description
GetPageSpeed backport of Uplex's libvfp-brotli to the Varnish 6.0 LTS line. A Varnish Fetch Processor (VFP) that compresses backend responses with brotli (Content-Encoding: br) or decompresses brotli-encoded backend responses, so objects are cached in the form they will be delivered in. Because Varnish 6.0 has no beresp.filters, the filters are activated with explicit VCL calls: brotli.compress(), brotli.decompress(), and the .activate() method of custom encoder/decoder objects. A gzip backend response is transparently decompressed before brotli compression. This is a GetPageSpeed backport, not an Uplex/upstream-supported build.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
vmod-brotli on AlmaLinux / Rocky Linux / Oracle Linux / RHEL 8, 9, 10
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install dnf-plugins-core sudo dnf config-manager --enable getpagespeed-extras-varnish60 sudo dnf -y install vmod-brotli
vmod-brotli on CentOS 7 / RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install yum-utils sudo yum-config-manager --enable getpagespeed-extras-varnish60 sudo yum -y install vmod-brotli
Package downloads require an active GetPageSpeed subscription — one repository for vmod-brotli and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install vmod-brotli on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the vmod-brotli package with your system package manager.
Which Enterprise Linux versions is vmod-brotli available for?
vmod-brotli is available for RHEL 7, 8, 9, 10.