GetPageSpeed Extras

vmod-brotli

How to install vmod-brotli on Amazon Linux

Varnish Fetch Processor for brotli de-/compression

License: BSD https://gitlab.com/uplex/varnish/libvfp-brotli

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel aarch64 x86_64 Version
Amazon Linux 2023 Varnish 6.0 LTS 6.0.18+0.1.0
Amazon Linux 2 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 Amazon Linux.

Install

Varnish 6.0 LTS Amazon Linux 2, 2023

vmod-brotli on Amazon Linux 2, 2023

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

Package downloads require an active GetPageSpeed subscription — one repository for vmod-brotli and thousands more packages for Amazon Linux.

Subscribe — from $10/mo

Frequently asked questions

How do I install vmod-brotli on Amazon Linux?

Add the GetPageSpeed repository, then install the vmod-brotli package with your system package manager.

Which Amazon Linux versions is vmod-brotli available for?

vmod-brotli is available for Amazon Linux 2, 2023.

Subscribe