Apache module for rewriting web pages to reduce latency and bandwidth.
C++ JavaScript HTML Shell Python Makefile Other
Switch branches/tags
Latest commit 8d96b8b Jul 8, 2017 @oschaaf oschaaf committed on GitHub Fix possible buffer over-read in RewriteDriver::ParseTextInternal (#1591

When RewriteDriver::ShouldSkipParsing returns true, Write is
called with content without size. This results in conversion
of content to StringPiece and relying on strlen to determine
size. This could result in buffer over-read if content is
not NULL-terminated.

Fixes #1590




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