You are here

function RespImgPageCache::set in Responsive images and styles 7

Implements DrupalCacheInterface::set().

Overrides DrupalDatabaseCache::set

File

./cache.inc, line 7

Class

RespImgPageCache

Code

function set($cid, $data, $expire = CACHE_PERMANENT) {
  if ($this
    ->checkCookie()) {
    $cid .= '_' . $_COOKIE[RESP_IMG_COOKIE];
  }
  parent::set($cid, $data, $expire);
}