Automatic PageSpeed optimization module for Nginx

Clone this repo:
  1. 9e70f6d Avoids relying on Bash (#1700) by Werner Beroux · 1 year ago master
  2. d647f4b Update (#1677) by Ivan Ridao Freitas · 1 year, 6 months ago
  3. c69649a Fix error handling in ps_create_XXX_conf (#1625) by Otto van der Schaaf · 2 years, 6 months ago
  4. f73a591 removing the word boundary \b (#1607) by Dibyendu Das · 2 years, 8 months ago
  5. ced02f1 Update Nginx in Docker (#1605) by Nico Berlee · 2 years, 9 months ago


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: