Benchmark the web performance and accessibility of sites over time.
After you make a fast web site, keep it fast by measuring it over time. Read Use Speedlify to Continuously Measure Site Performance. Created by @zachleat.
_data/sites/*.js
is a category and contains a list of sites for comparison.After cloning you’ll probably want to delete the initial _data/sites/*.js
files and create your own file with a list of your own site URLs!
npm install
npm run test-pages
npm run start
<speedlify-score>
component to show your scores on your page. Read more at I added Lighthouse Scores to my Site’s Footer and You Can TooCan run directly on Netlify (including your tests) and will save the results to a Netlify build cache (via Netlify Build Plugins, see plugins/keep-data-cache/
).
After cloning you’ll probably want to delete the initial _data/sites/*.js
files and create your own file with a list of your own site URLs!
Speedlify will also save your data to /results.zip
so that you can download later. Though this has proved to be unnecessary so far, it does serve as a fallback backup mechanism in case the Netlify cache is lost. Just look up your previous build URL and download the data to restore.
www.
, moved domains, etc), you probably want to delete the old URL’s data otherwise you’ll have two entries in the results list.Speedlify is intended as a stepping stone to more robust performance monitoring solutions like: