test2.php

来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· PHP 代码 · 共 26 行

PHP
26
字号
<?php// Test script of Cache_Lite_Output// $Id: test2.php,v 1.3 2002/09/28 18:05:29 fab Exp $require_once('Cache/Lite/Output.php');$options = array(    '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();    echo('<br>Cache Missed !');} else {    echo('<br>Cache Hit !');}?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?