If your site has mostly static content and you do not want to setup nginx or do not have enough permissions (for example virtual hosting) you may find this class useful for you.
Especially if your site more than 5 000 unique visitors per day, your hosting type is virtual hosting, your hosting provider start saying that you better upgrade to VPS/VDS and you do not want to pay more.
Steps to use: create a folder named cache in the httpdocs folder of your site, copy cache.php into it, configure path and timeout in the constructor of the class and take a look at the example file attached to this class.
|