Home | Usage | Buy online

Usage

Code example

This is how easy PHPQuickCache is to use....


/** Set up the cache **/

include "class.phpquickcache.inc";

$page=new php_quick_cache();

$page->cache_start();

/** User code here.... **/

for($i=0; $i<=10; $i++) {
echo "<h2>{$i}</h2>\n";
sleep(1);
}

/** Show the page **/

$page->cache_display();


.....and that's it! No messing around; just quick pages.