I needed this for priming some image-heavy pages that were slow to cold-load after a cleared cache.
It's ideal for pages with some form of lazyloading / async content pulled from a CDN or a CMS where the first request can take an unacceptably long time to fulfill.
It also generates full page screenshots which can be used in QA or rudimentary visual regression testing.
npm i puppeteer yargs chalk-animation
- Create a file accessible over the network containing a simple list of URLs to warm.