Improve beacon data decoding (#1987)

Critical image beacon data that does not conform to the expected format
should be ignored. Update the JSON handling so that fields that do not
have the expected type cause the critical image data to be ignored.
2 files changed
tree: d338015980436c0f655dc219977fcb63a197574e
  1. base/
  2. build/
  3. devel/
  4. html/
  5. install/
  6. net/
  7. pagespeed/
  8. strings/
  9. testing/
  10. third_party/
  11. tools/
  12. url/
  13. .gitignore
  14. .gitmodules
  15. .travis.yml
  16. DISCLAIMER
  17. extract_so_from_deb.sh
  18. LICENSE
  19. NOTICE
  20. README.md
README.md

mod_pagespeed

logo

CIStatus
TravisBuild 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...

Demo

Try itmodpagespeed.com
Read about ithttps://developers.google.com/speed/pagespeed/module
Download ithttps://modpagespeed.com/doc/download
Check announcementshttps://groups.google.com/group/mod-pagespeed-announce
Discuss ithttps://groups.google.com/group/mod-pagespeed-discuss
FAQhttps://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