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;
?>
「RENDER YOUR PAGE」を自分のページに置き換える方法が見つかりませんでした。「include」、「get_file_content」を試しました...どれも機能しません。
誰でも私に例を教えてください。
ありがとうございました