Apache module for rewriting web pages to reduce latency and bandwidth.
C++ JavaScript HTML Shell Python Makefile Other
Switch branches/tags
Clone or download
oschaaf Update https_support.html (#1783)
Make note of `X-Forwarded-Proto` and https termination potentially
breaking fetches on behalf of html due to an arising protocol mismatch.
(And suggest explicitly alllowing the domain to resolve).
Latest commit fb64029 Jun 28, 2018




CI Status
Travis Build Status

mod_pagespeed is an open-source Apache module created by Google to help Make the Web Faster by rewriting web pages to reduce latency and bandwidth.

mod_pagespeed releases are available as precompiled linux packages or as source. (See Release Notes for information about bugs fixed)

mod_pagespeed is an open-source Apache module which automatically applies web performance best practices to pages, and associated assets (CSS, JavaScript, images) without requiring that you modify your existing content or workflow.

mod_pagespeed is built on PageSpeed Optimization Libraries, deployed across 100,000+ web-sites, and provided by popular hosting and CDN providers such as DreamHost, GoDaddy, EdgeCast, and others. There are 40+ available optimizations filters, which include:

  • Image optimization, compression, and resizing
  • CSS & JavaScript concatenation, minification, and inlining
  • Cache extension, domain sharding, and domain rewriting
  • Deferred loading of JavaScript and image resources
  • and many others...


Try it modpagespeed.com
Read about it https://developers.google.com/speed/pagespeed/module
Download it https://modpagespeed.com/doc/download
Check announcements https://groups.google.com/group/mod-pagespeed-announce
Discuss it https://groups.google.com/group/mod-pagespeed-discuss
FAQ https://modpagespeed.com/doc/faq

Curious to learn more about mod_pagespeed? Check out our GDL episode below, which covers the history of the project, an architectural overview of how mod_pagespeed works under the hood, and a number of operational tips and best practices for deploying mod_pagespeed.

GDL Episode