protected function _createRequestIds() { parent::_createRequestIds(); $_helper = Mage::helper('weltpixel_mobiledetect'); $detectionSuffix = 'desktop'; if ($_helper->isMobile() || $_helper->isTablet()) { $detectionSuffix = 'mobile'; } $this->_requestId .= '_' . $detectionSuffix; $this->_requestCacheId = $this->prepareCacheId($this->_requestId); return $this; }
/** * Populate request ids * * @return Elastera_PageCacheSSL_Model_Processor */ protected function _createRequestIds() { parent::_createRequestIds(); $uri = $this->_requestId; if ($uri) { /* start change - add '_ssl' to the $uri if the request is SSL */ if (Elastera_EnterprisePageCacheSSL_Helper_Data::isSSL()) { $uri .= '_ssl'; } /* end change - add '_ssl' to the $uri if the request is SSL */ } $this->_requestId = $uri; $this->_requestCacheId = $this->prepareCacheId($this->_requestId); return $this; }