Joshua Marantz c6f01f2d42 Don't run add-head or any of the filters that depend on it in ajax request, which
we can usually detect via request-headers x-requested-with:xml-http-request.

Preserve URLs for ajax requests as well.

Re-establish 'disallow */wp-admin/*' in default set, as a back-stop against the
wp-admin being visited from a browser that does not send that header.

Did a couple of minor cleanups found in the vicinity of the changes reuqired in
rewrite_options.cc: don't statically construct a std::vector (which we totally
did not need in the first place).  Use C++11 loops over static arrays.

Fixes:
  https://github.com/pagespeed/mod_pagespeed/issues/1405
  https://github.com/pagespeed/mod_pagespeed/issues/891
  https://github.com/pagespeed/mod_pagespeed/issues/419
  http://serverfault.com/questions/408057/mod-pagespeed-with-zend-framework-gives-404

Associated ngx_pagespeed pull: https://github.com/pagespeed/ngx_pagespeed/pull/1320
2016-11-14 09:10:07 -05:00
2015-04-06 11:29:33 -04:00
2016-10-28 16:47:22 -04:00
2016-11-10 16:43:55 -05:00
2010-10-04 21:43:22 +00:00
2016-08-16 14:28:05 -04:00

mod_pagespeed

logo

CI Status
Travis Build Status
Jenkins (CentOS5) 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 1.11.33.3-beta and 1.11.33.2-stable 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...

Demo

Try it modpagespeed.com
Read about it https://developers.google.com/speed/pagespeed/module
Download it https://developers.google.com/speed/pagespeed/module/download
Check announcements https://groups.google.com/group/mod-pagespeed-announce
Discuss it https://groups.google.com/group/mod-pagespeed-discuss
FAQ https://developers.google.com/speed/pagespeed/module/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

S
Description
No description provided
Readme 81 MiB
Languages
C++ 69.6%
Shell 22.6%
Dockerfile 7.5%
Makefile 0.3%