Last active
May 22, 2024 13:33
-
-
Save cristian0/700319a50c314f94bead21b3cf0b893e to your computer and use it in GitHub Desktop.
Warming cache site by sitemap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sS https://example.com/sitemap.xml | pcregrep -o1 "<loc>([^<]+)</loc>" | xargs -n1 -r -P60 curl -sS -o /dev/null -w "%{http_code}\t%{time_total}\t%{url_effective}\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment