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
Allow passing the location of the main sitemap #6
Open
dannyhajj opened 5 years ago
This script assumes that the sitemap is always at the root of a domain. It should allow passing the location of the sitemap, for example:
A better solution might even be to load the location from the robots.txt file if is there.