Skip to main content

headers

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

15 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 Shibboleth Module: SSO Authentication Guide

Learn how to integrate NGINX with Shibboleth SSO using the nginx-http-shibboleth module. This guide covers installation, configuration of the FastCGI authorizer, secure attribute passing…

NGINX

NGINX Rewrite Response Status Code Module Guide

Learn how to rewrite HTTP response status codes in NGINX using the rewrite_status module. Change upstream status codes conditionally without losing the response body…

NGINX

NGINX Request Cookies Filter Module

Learn how to filter, strip, rewrite, and add cookies in NGINX request headers before they reach your upstream servers. The request cookies filter module…

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 Security Headers Module: Complete Configuration Guide

Configure NGINX security headers the right way with the ngx_security_headers module. This comprehensive guide covers all directives including X-Frame-Options, Referrer-Policy, HSTS, Cross-Origin policies, and…