View this package for all Ubuntu releases →
How to install nginx-module-compression-vary in Ubuntu 26.04 (resolute)
Enhanced Vary header handling for compression
Install
curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb sudo apt-get install -y /tmp/getpagespeed-release.deb rm /tmp/getpagespeed-release.deb sudo apt-get update sudo apt-get install -y nginx-module-compression-vary
Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.
Description
The compression vary filter module is a header filter used instead of the standard gzip_vary directive. It provides more control over Vary header handling for gzip, brotli, and zstd compression, which is important for proper cache behavior with compressed content.
Packages
| Package | Size | Built |
|---|---|---|
| nginx-module-compression-vary_1.30.6+0.2.0-9~gps1+ubuntu2604+stable_amd64 | 6 KiB | 2026-10-17 |
| nginx-module-compression-vary_1.30.6+0.2.0-9~gps1+ubuntu2604+stable_arm64 | 6 KiB | 2026-10-17 |