Skip to main content

optimization

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

11 articles

NGINX

NGINX Immutable Module: Far-Future Cache-Control Headers

Cut wasted revalidation requests on versioned static assets. The NGINX immutable module emits RFC-compliant far-future Cache-Control headers with the immutable attribute, stale-while-revalidate, and stale-if-error…

NGINX

NGINX Automatic Image Conversion: WebP and AVIF

Learn how to automatically convert and serve WebP and AVIF images in NGINX using the ngx_immerse filter module. This module transparently intercepts image responses…

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

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 Tuning Module: Data-Driven Buffer Optimization

Stop guessing your NGINX buffer sizes and timeouts. The Tuning Advisor module collects real-time metrics from your production traffic and provides actionable configuration recommendations…