protected function _addResponseHeaders($controllerAction)
    {
        if ($this->_getHelper()->isDebug()) {
            $controllerAction->getResponse()->setHeader('X-Debug', '1');
        }

        if ($this->_getHelper()->getIsEsiUsed()) {
            $controllerAction->getResponse()->setHeader(
                'Surrogate-Control', 'key=ESI/1.0'
            );
        }

        if (!$this->_getHelper()->isAllowedCurrentPage()) {
            $this->performBan();
        } else {
            if ($ttl = $this->_getHelper()->getCurrentPageTtl()) {
                $this->_getHelper()->addTtl($ttl);
            }

            foreach ($this->_collectedObjects as $object) {
                $this->_getHelper()->addObjectTags(
                    $this->_getProcessor()->getTags($object)
                );
            }

            $this->_collectedObjects = array();
        }


        if ($controllerAction->getResponse()->canSendHeaders()) {
            foreach (Mage::helper('ecomdev_varnish')->getVarnishHeaders(
                !$this->_getHelper()->isAllowedCurrentPage()
            ) as $name => $value) {
                if (is_array($value)) {
                    foreach ($value as $val) {
                        $controllerAction->getResponse()->setHeader($name, $val);
                    }
                } else {
                    $controllerAction->getResponse()->setHeader($name, $value, true);
                }
            }
        }



        return $this;
    }