I'm trying to integrate phpFastCache to my application.
This is what it said in the docs:
<?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;
?>
I didn't find how to replace "RENDER YOUR PAGE" by my page. I tried "include", "get_file_content"...None works.
Any one can give me an exemple please ?
Thank you