It can check if a cache file exists and is not expired. If so it may return the contents of the cached file.
If the cache file does not exist or it was expired, the class may start capturing the output of the current script and then it stores the captured output in a cache file.
This class can be used to cache the output of pages into files.
It can check if a cache file exists and did not expire. If so, it outputs the contents of the cache file. Otherwise, the class starts capturing the output of the page.
In the end the class retrieves the just captured output of the page stores it in a cache file.
The class already compresses the output of the page that is cached.
This class can be used to cache page content output in files.
It can check if a cache file for the current page exists and whether it is still valid.
If the cache file does not exist or it is expired, the class starts capturing the current page output and stores it the cache file when the scripts exits.
If the cache file exists and has not yet expired, the class outputs the contents of the cache file and exits.