Skip to content

sys0dm1n/varnish-cache-warmer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

varnish-cache-warmer

This is a bash script that uses curl to warm up Varnish by targeting the sitemap.xml of the website

Requirements

It uses the curl package and the website should have a sitemap.xml to work.

Executing the script

You can pass as many URLs or IP as you want to the script like this:

$ sudo chmod +x varnish-cache-warmer.sh
$ ./varnish-cache-warmer.sh example1.com example2.com example3.com

Room for improvement

If you happen to find something not to your liking, you are welcome to send a PR.

About

This is a bash script that uses wget and curl to warm up Varnish by targeting the sitemap.xml of the website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages