Skip to main content

compression

Practical compression guides from the GetPageSpeed engineering team: configuration, performance tuning and security for production Linux servers.

17 articles

NGINX

NGINX Zstd Decompression with the unzstd Module

Learn how to use the NGINX unzstd module for transparent Zstandard decompression. Adopt Zstd compression server-side while maintaining compatibility with clients that do not…

NGINX

NGINX Concat Module: Combine CSS and JS Files

Learn how to use the NGINX concat module to combine multiple CSS and JavaScript files into a single HTTP response. Reduce request overhead, improve…

NGINX

NGINX Compression Vary: Fix Broken Vary Headers

The NGINX compression_vary module replaces the standard gzip_vary directive with smarter Vary header handling. It merges multiple Vary headers into one, removes duplicates, and…

NGINX

Accept-Encoding Normalization in NGINX for Better Caching

Learn how to normalize Accept-Encoding headers in NGINX to prevent cache variant explosion. The compression-normalize module standardizes client compression preferences, dramatically improving proxy cache…

NGINX

NGINX Unbrotli Module: Decompress Brotli Responses

Brotli compression delivers superior compression ratios compared to gzip, making it ideal for serving web content. However, what happens when your storage backend already…

NGINX

NGINX mod_zip: Dynamic ZIP Archives Guide

Learn how to use NGINX mod_zip module to dynamically assemble ZIP archives on-the-fly without loading files into memory. Perfect for download portals, file sharing…