<?php
include 'mcache.php';
if(!$content = mcache::getInstance()->getFacebook()){
$data = file_get_contents('http://www.facebook.com/');
mcache::getInstance()->setFacebook($data);
}else echo $content;
?>liukuan/memcache
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|