/** * Start caching * * Determine if we have a cache hit. If so, return the response; else, * start caching. * * @param Zend_Controller_Request_Abstract $request * @return void */ public function dispatchLoopStartup(Zend_Controller_Request_Abstract $request) { if (!$request->isGet()) { self::$_disableCache = true; return; } $path = $request->getPathInfo(); $this->_key = md5($path); $response = Zrt_Cache::load($this->_key); if (false !== $response) { $response->sendResponse(); if (!$this->_suppressExit) { exit; } } }