15.5. Preheating

Now that you have read your way through the caching chapter, here is a final tip: preheat your cache!
For example, if you have a web application in a company and you know that at 9 o'clock in the morning, all employees are going to log in and then access this web application, then it's a good idea to let your web server go through all those views a few hours in advance with cron-job. At night, your server is probably bored anyway.
Check out the behavior patterns of your users. With public web pages, this can be done for example via Google Analytics (http://www.google.com/analytics/). You will find that at certain times of the day, there is a lot more traffic going in. If you have a quiet phase prior to this, you can use it to warm up your cache.
The purpose of preheating is once more saving server ressources and achieving better quality for the user, as the web page is displayed more quickly.

Thank you for your support and the visibility by linking to this website on Twitter and Facebook. That helps a lot!