1
我試圖將phpFastCache集成到我的應用程序。使用phpFastCache頁面
這是它在文檔中說:
<?php
// try to get from Cache first.
$html = phpFastCache::get(array("files" => "keyword,page"));
if($html == null) {
$html = Render Your Page || Widget || "Hello World";
phpFastCache::set(array("files" => "keyword,page"),$html);
}
echo $html;
?>
我沒有找到如何更換我的頁面「呈現您的網頁」。 我試過「包含」,「get_file_content」...沒有任何作用。
任何人都可以給我一個例子嗎?
謝謝
非常感謝,它的工作原理:) I'wd投+ 1你,但我再也沒有suffisant聲譽做,對不起和謝謝:) – Hdev