Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Automatic PageSpeed optimization module for Nginx
C++ Shell
Branch: master

Revert "Revert "Handle DoneAndSetHeaders() new second argument that w…

…ants to know whether the response is complete.""

Needed for to build.

This reverts commit 19ebf69.
latest commit 0f3f268b36
@jeffkaufman jeffkaufman authored


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:

Something went wrong with that request. Please try again.