// Do not cache if shop(template) is not esi-enabled
if (!
Shopware()->
Shop()->
get('esi'
)) { return;
} $this->
addSurrogateControl($this->response
);
$this->
addContextCookie($this->request,
$this->response
);
$this->
setNoCacheCookie();
$this->
setCacheHeaders();
} /**
* Callback for event Shopware_CronJob_ClearHttpCache
*
* Clears the file-based http-cache storage directory
*
* @return string
*/
public function onClearHttpCache(Shopware_Components_Cron_CronJob
$job) {