Skip to content

Instantly share code, notes, and snippets.

@rogyar
Created April 10, 2016 10:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rogyar/cb4ab0e2f736fa390ac08ca81159d680 to your computer and use it in GitHub Desktop.
Save rogyar/cb4ab0e2f736fa390ac08ca81159d680 to your computer and use it in GitHub Desktop.
Cache Warmup
wget -O - dev.mage2.com:1005/sitemap-1-1.xml | grep -E -o '<loc>.*</loc>' | sed -e 's/<loc>//g' -e 's/<\/loc>//g' > ~/sitemaps/mage2.txt
sudo siege -c100 -d5 -r1 -v -i -f ~/sitemaps/mage2.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment