Skycache 2.2 reviewDownload
Skycache is a lightweight, free and fast page cache for PHP 4 and PHP 5. Once a dynamic page has been computed, it is stored in a
Skycache is a lightweight, free and fast page cache for PHP 4 and PHP 5.
Once a dynamic page has been computed, it is stored in a page cache.
If a query for the same URL is made afterwards, the content is immediately served from the cache instead of processing the script again. The end result is a significant speedup and a slightly reduced server load.
Skycache is heavily used on Skyblog.
Just add this to the top of a php script you want to cache the content for:
Pages will get cached for 30 minutes. You can check how pages were served by looking at the returned X-Skycache headers.
Other functions for more specific cases are described below. skycache() should always be the last one you call.
The skycache.php file can of course be stored in any location, and it can be shared by different scripts.
Skycache 2.2 search tags