Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e9cff772c2
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (18 sloc) 0.394 kb
<?php
// Bench script of Cache_Lite_Output
// $Id$
require_once 'Cache/Lite/Output.php';
$options = array(
'caching' => true,
'cacheDir' => '/tmp/',
'lifeTime' => 10
);
$cache = new Cache_Lite_Output($options);
if (!($cache->start('123'))) {
// Cache missed...
for($i=0;$i<1000;$i++) { // Making of the page...
echo('0123456789');
}
$cache->end();
}
?>
Jump to Line
Something went wrong with that request. Please try again.