Cet outil scanne les sites qui lui sont paramétrés dans _data/sites/*.js
.
Il vérifie des score de performances, SEO, best practices et accessibilité grâce à Lighthouse.
Note : l'accessibilité ne peut jamais être testée complètement automatiquement. Les tests utilisateur sont indispensables pour vérifier convenablement l'accessibilité.
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.
- Requires Node 12+
- Each file in
_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
- The Eleventy Leaderboards are running on Speedlify
- speedlify.dev shows some sample categories
- Use the
<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 Too - The Eleventy Starter Projects list shows Lighthouse scores from Speedlify. Read more at The Lighthouse Scores Will Continue Until Morale Improves.
- If you change a URL to remove a redirect (to remove or add a
www.
, moved domains, etc), you probably want to delete the old URL’s data otherwise you’ll have two entries in the results list. - When running on Netlify, a single category has a max limit on the number of sites it can test, upper bound on how many tests it can complete in the 15 minute Netlify build limit.
- The same URL cannot be listed in two different categories (yet).
Speedlify is intended as a stepping stone to more robust performance monitoring solutions like: