Skycache 2.2 review

Download
by rbytes.net on

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

License: MIT/X Consortium License
File size: 4K
Developer: Skycache Team
0 stars award from rbytes.net

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.

Basic usage:

Just add this to the top of a php script you want to cache the content for:

require('skycache.php');
skycache();

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