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