sys0dm1n / varnish-cache-warmer

This is a bash script that uses wget and curl to warm up Varnish by targeting the sitemap.xml of the website
GNU General Public License v2.0
38 stars 12 forks source link

Should allow passing the list of hosts from the command line #4

Closed dannyhajj closed 5 years ago

dannyhajj commented 5 years ago

We should allow passing the list of hosts from the command line instead. This would allow users to call the script like so:

varnish-cache-warmer.sh x.x.x.x y.y.y.y z.z.z.z
sys0dm1n commented 5 years ago

Good suggestion, don't hesitate to contribute code wise if you got more good ideas. https://github.com/sys0dm1n/varnish-cache-warmer/commit/4e804194fcd33e2c7e04754120b96ec4475ce0fa