\SimplePie_Cache_Memcache
Caches data to memcache
Registered for URLs with the "memcache" protocol
For example, `memcache://localhost:11211/?timeout=3600&prefix=sp_` will
connect to memcache on `localhost` on port 11211. All tables will be
prefixed with `sp_` and data will expire after 3600 seconds
Synopsis
class SimplePie_Cache_Memcache
implements
SimplePie_Cache_Base
{
- // methods
- public void __construct()
- public bool save()
- public array load()
- public int mtime()
- public bool touch()
- public bool unlink()
Hierarchy
Implements
Constants
Name | Value |
---|---|
TYPE_FEED | 'spc' |
TYPE_IMAGE | 'spi' |
Members
protected
- $cache
—
Memcache
Memcache instance - $name
—
string
Cache name - $options
—
array
Options