/**
  * postDispatch
  * @author Thomas Schedler <*****@*****.**>
  * @version 1.0
  */
 public function postDispatch()
 {
     if (isset($this->objCache) && $this->objCache instanceof Zend_Cache_Frontend_Output) {
         if ($this->blnCachingStart === true) {
             $response = $this->getResponse()->getBody();
             $this->getResponse()->setBody(str_replace("<head>", "<head>\r\n  <!-- This is a ZOOLU cached page (" . date('d.m.Y H:i:s') . ") -->", $response));
             $this->getResponse()->outputBody();
             $arrTags = array();
             if ($this->objPage->getIsStartElement(false) == true) {
                 $arrTags[] = 'StartPage';
             }
             $arrTags[] = 'PageType' . $this->objPage->getPageTypeId();
             $this->core->logger->debug($arrTags);
             $this->objCache->end($arrTags);
             exit;
         }
     }
     parent::postDispatch();
 }