PHP Classes

File: readme.txt

Recommend this page to a friend!
  Classes of Dmitry Stroganov  >  PHP Simple Cache  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Readme file
Class: PHP Simple Cache
Retrieve the current page from a cache file
Author: By
Last change: minor changes
Date: 7 years ago
Size: 611 bytes
 

Contents

Class file image Download
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.