public function buildServeFlavors()
 {
     if ($this->getManifestRedirect() && $this->getHostName() != $_SERVER['HTTP_HOST']) {
         kApiCache::setConditionalCacheExpiry(600);
         // the result contains a KS so we shouldn't cache it for a long time
         $parsedUrl = parse_url($this->getUrl());
         $flavor = array('urlPrefix' => $this->params->getMediaProtocol() . '://' . $parsedUrl['host'], 'url' => $_SERVER["REQUEST_URI"]);
         return array($flavor);
     }
     return parent::buildServeFlavors();
 }