You are here

public function VarnishCache::get in Varnish 7

Returns data from the persistent cache.

Data may be stored as either plain text or as serialized data. cache_get() will automatically return unserialized objects and arrays.

Parameters

$cid: The cache ID of the data to retrieve.

Return value

The cache or FALSE on failure.

Overrides DrupalCacheInterface::get

File

./varnish.cache.inc, line 23
Cache include file, to be used in settings.php file.

Class

VarnishCache
Varnish cache implementation.

Code

public function get($cid) {
  return FALSE;
}