How to install nginx-module-compression-normalize in Ubuntu 22.04 (jammy)
NGINX Accept-Encoding Normalization module
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 echo "deb [signed-by=/etc/apt/keyrings/deb-archive-keyring.gpg] https://extras.getpagespeed.com/ubuntu jammy-mainline-early main" | sudo tee /etc/apt/sources.list.d/getpagespeed-mainline-early.list sudo apt-get update sudo apt-get install -y nginx-module-compression-normalize
Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.
Description
NGINX module that parses, normalizes, and manages the Accept-Encoding headers from client requests. It ensures consistent handling of compression algorithms by standardizing the Accept-Encoding values, reducing cache variant explosion and improving vary cache performance. This is essential for proxy caching with Vary: Accept-Encoding to prevent creating multiple cache entries for equivalent compression preferences like "gzip, br" vs "br, gzip".
Packages
| Package | Size | Built |
|---|---|---|
| nginx-module-compression-normalize_1.31.8+1.0.0-9~gps1+ubuntu2204+mainline_amd64 | 7 KiB | 2026-10-21 |
| nginx-module-compression-normalize_1.31.8+1.0.0-9~gps1+ubuntu2204+mainline_arm64 | 7 KiB | 2026-10-21 |