Summery Summery
Save data to the cache
Syntax Syntax
Parameters Parameters
- $data
-
(Required) Data to store in the cache. If passed a SimplePie object, only cache the $data property
Return Return
(bool) Successfulness
Source Source
File: wp-includes/SimplePie/Cache/Memcache.php
{
$data = $data->data;
}
return $this->cache->set($this->name, serialize($data), MEMCACHE_COMPRESSED, (int) $this->options['extras']['timeout']);
}
/**
* Retrieve the data saved to the cache