Created
September 13, 2019 05:57
-
-
Save nicksantamaria/57fdbab820c3d1888520dff886830d89 to your computer and use it in GitHub Desktop.
Prime images from homepage
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
# Prime the caches and stage file proxy by requesting the homepage and image resources. | |
DOMAIN='' | |
HTTP_USER='' | |
HTTP_USER='' | |
wget \ | |
--recursive --delete-after -nd --level=0 \ | |
--read-timeout=5 --waitretry=5 --timeout=5 -t 3 \ | |
-A png -A jpg -A jpeg \ | |
--user=${HTTP_USER} --password=${HTTP_USER} --keep-session-cookies https://${DOMAIN}/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment