app/code/community/Nexcessnet/Turpentine/Helper/Esi.php
public function getFormKeyEsiUrl() {
        $urlOptions = array(
            $this->getEsiTtlParam()         => $this->getDefaultEsiTtl(),
            $this->getEsiMethodParam()      => 'esi',
            $this->getEsiScopeParam()       => 'global',
            $this->getEsiCacheTypeParam()   => 'private',
        );
        $esiUrl = Mage::getUrl('turpentine/esi/getFormKey', $urlOptions);
        // setting [web/unsecure/base_url] can be https://... but ESI can never be HTTPS
        $esiUrl = preg_replace('|^https://|i', 'http://', $esiUrl);
        return $esiUrl;
    }
public function getFormKeyEsiUrl() {
        $urlOptions = array(
            $this->getEsiTtlParam()         => $this->getDefaultEsiTtl(),
            $this->getEsiMethodParam()      => 'esi',
            $this->getEsiScopeParam()       => 'global',
            $this->getEsiCacheTypeParam()   => 'private',
        );
        $esiUrl = Mage::getUrl('turpentine/esi/getFormKey', $urlOptions);
        // setting [web/unsecure/base_url] can be https://... but ESI can never be HTTPS
        $esiUrl = preg_replace('|^https://|i', 'http://', $esiUrl);
        return $esiUrl;
    }
public function getFormKeyEsiUrl ( ) { $ urlOptions = array ( $ this -> getEsiTtlParam ( ) => $ this -> getDefaultEsiTtl ( ) , $ this -> getEsiMethodParam ( ) => 'esi' , $ this -> getEsiScopeParam ( ) => 'global' , $ this -> getEsiCacheTypeParam ( ) => 'private' , ) ; $ esiUrl = Mage :: getUrl ( 'turpentine/esi/getFormKey' , $ urlOptions ) ; // setting [web/unsecure/base_url] can be https://... but ESI can never be HTTPS $ esiUrl = preg_replace ( '|^https://|i' , 'http://' , $ esiUrl ) ; return $ esiUrl ; }
Get URL for grabbing form key via ESI

@return string
Get URL for grabbing form key via ESI