Warming the cache gives your users extremely fast pages all the time. Using varnish, xmlsitemap, cron and bash you can give your clients very fast pages.
A quick comprehensive bash scripting guide to teach you the basics.
http://linuxconfig.org/Bash_scripting_Tutorial