/** * @param string $sKey * @param bool $bForce = false * * @return bool */ public function cacheByKey($sKey, $bForce = false) { $bResult = false; if (!empty($sKey) && ($bForce || $this->Config()->Get('cache', 'enable', true) && $this->Config()->Get('cache', 'http', true))) { $this->oHttp->ServerUseCache(\md5('Etag:' . \md5($sKey . \md5($this->Config()->Get('cache', 'index', '')))), 1382478804, 2002478804); $bResult = true; } return $bResult; }