Documentation / Google Page Speed Insights

Google Page Speed Insights

There’s a Google Page Speed Insights plugin at https://github.com/sitespeedio/plugin-gpsi and since sitespeed.io 12.2.0 it runs the new Lighthouse backend.

You can run it with:

docker run --shm-size=1g --rm -v "$(pwd):/sitespeed.io" sitespeedio/sitespeed.io:35.0.0-plus1 https://www.sitespeed.io/ --plugins.remove @sitespeed.io/plugin-lighthouse

The container also includes Lighthouse. We automatically release a new version of the container per release by adding -plus1 to the tag. If you use Graphite/InfluxDb the score from Lighthouse and GPSI will be automatically stored.

The plugin will send a request to the Google Page Speed Servers and parse the result. The result will look something like this:

GPSI

The plugin also collect metrics for the specific page and the domain from the Chrome User Experience report: GPSI distribution

All scores and distributions is automatically sent to Graphite/InfluxDB.

Disable Lighthouse #

If you only want to run GPSI and not Lighthouse you can disable it with --plugins.remove @sitespeed.io/plugin-lighthouse.