Master of puppets is a puppeteer based cache warming tool. It takes a sitemap.xml
as the input, and crawls
all the URLs in the sitemap. It also support multiple threads, progress bar, verbose output, and many other useful stuff. And since it uses puppeteer, it can even
support warming of Single-Page-Applications!
npm run start -- --sitemap=https://www.my-website.com/sitemap.xml
--verbose
- Show a verbose output--sitemap
- The sitemap's absolute URL--threads
- The total number of threads to start. (default:NUMBER_OF_CPUS
)--timeout
- The timeout between each warm in milliseconds. (default: 1000)--help
- Show this help message