Beispiel #1
0
 protected function getCacheId($name = null)
 {
     $cache_id = parent::getCacheId($name);
     if ($this->context->cookie->exists() && $this->context->cookie->WebPSupport) {
         $cache_id .= '|w';
     } else {
         $cache_id .= '|j';
     }
     // j for conventional jpegs
     return $cache_id;
 }