This plugin is a PHP script which can be embedded into any PHP website with minimal effort.
It caches pages on load and it keeps them cached for as long as you specify. The cache is kept on disk in HTML format so the page load time increases significantly, especially on database-heavy websites.
Installation requires just two simple steps:
The first step is the header embed.
This has to be inserted in the header of the main .php file of the website you want to install it on. The header embed does tests which check everything that is needed in order to do the cache.
There are two constants which you have to modify depending on your preference: CACHE_TTL and CACHE_DIRECTORY. The CACHE_TTL constant tells the plugin how much time the cached file is kept on the disk(in seconds) and the CACHE_DIRECTORY is self explanatory.
The second step is inserting the bottom embed code which does the actual caching after the header code’s tests.
That’s it! A really simple and powerful plugin which you can use on any php website.
* The license is valid for one website.