public static function put($id, $val, $timeout = 30) { $res = MemoryCache::put($id, $val, $timeout); $res &= DiskCache::put($id, $val); return $res; }
public static function put($id, $val, $timeout = 30) { $res = MemoryCache::put($id, $val, $timeout); $res &= DiskCache::put($id, $val); return $res; }