Skip to content

Instantly share code, notes, and snippets.

@nicksantamaria
Created September 13, 2019 05:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicksantamaria/57fdbab820c3d1888520dff886830d89 to your computer and use it in GitHub Desktop.
Save nicksantamaria/57fdbab820c3d1888520dff886830d89 to your computer and use it in GitHub Desktop.
Prime images from homepage
# 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