Run Google PageSpeed Insights on your Netlify builds
- Netlify: Get
PUBLISH_DIR
fromconstants
(docs) - Puppeteer:
page.setContent()
passing the built index.html (docs) - Puppeteer:
page.url()
(docs) - PSI: Run PageSpeed Insights on puppeteer url (docs)
- Specify contexts to run on; default:
all
- Specify routes to run on; default:
/