bitrix $obCACHE = new CPHPCache; пример

$obCACHE = new CPHPCache;
$iCACHE_TIME=3600;
$strCACHE_ID="AreaMaxPlot";
$strCACHE_PATH = "/object.area";
if (isset($_REQUEST['clear_cache']) && $_REQUEST['clear_cache']=="Y"){ $obCACHE->Clean($strCACHE_ID,$strCACHE_PATH); }
if($iCACHE_TIME > 0 && $obCACHE->InitCache($iCACHE_TIME,$strCACHE_ID,$strCACHE_PATH)) 
    {    
        $arrRESULT = $obCACHE->GetVars();
        $arrAreaMaxDat  = $arrRESULT['AreaMaxDat'];
    }
if(!is_array($arrAreaMaxDat) || !count($arrAreaMaxDat)){
 $arrAreaMaxDat[] = 'test';
 $obCACHE->StartDataCache($iCACHE_TIME, $strCACHE_ID, $strCACHE_PATH);
 $obCACHE->EndDataCache(array("AreaMaxDat"=>$arrAreaMaxDat));
}