Automatic PageSpeed optimization module for Nginx

Clone this repo:
  1. 13bee9d Create RETIRED.txt by Christian Grobmeier · 11 months ago master
  2. 71e24c1 Refactored #1750 to support older NGINX versions (fixes #1749) by Danila Vershinin · 1 year, 9 months ago
  3. 143c4b7 [DRAFT] Fixes for NGINX nginx 1.23.0 by Otto van der Schaaf · 1 year, 9 months ago
  4. 9e70f6d Avoids relying on Bash (#1700) by Werner Beroux · 3 years, 8 months ago
  5. d647f4b Update README.md (#1677) by Ivan Ridao Freitas · 4 years, 2 months ago

ngx_pagespeed

Build Status

ngx_pagespeed speeds up your site and reduces page load time by automatically applying web performance best practices to pages and associated assets (CSS, JavaScript, images) without requiring you to modify your existing content or workflow. Features include:

  • Image optimization: stripping meta-data, dynamic resizing, recompression
  • CSS & JavaScript minification, concatenation, inlining, and outlining
  • Small resource inlining
  • Deferring image and JavaScript loading
  • HTML rewriting
  • Cache lifetime extension
  • and more

To see ngx_pagespeed in action, with example pages for each of the optimizations, see our demonstration site.

How to build

Follow the steps on build ngx_pagespeed from source.

How to use

Follow the steps on PageSpeed configuration.

For feedback, questions, and to follow the progress of the project: