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

Remove the wget dependency #10

Closed dannyhajj closed 5 years ago

dannyhajj commented 5 years ago

Can we replace the wget commands with curl so the script would have less dependency?

Since all the wget commands are doing is to fetch a document and write the result to STDOUT, we can use curl as that is its default behavior.