PHP Class WP_Spider_Cache_Object
WordPress's Object Cache is used to save on trips to the database. It stores
all of the cache data to memory and makes the cache contents available by
using a key, which is used to name and later retrieve cached data.
This Object Cache replaces WordPress's built in runtime cache by placing it
in the wp-content folder, and is loaded via wp-settings.php.
ファイルを表示
Open project: stuttter/wp-spider-cache
Public Properties
Public Methods
Method |
Description |
|
__construct ( null $persistent_id = NULL ) |
Instantiate the class. |
|
Method Details
__construct()
public method
Instantiates the class and returns adds the servers specified
in the $memcached_servers global array.
public __construct ( null $persistent_id = NULL ) |
$persistent_id |
null |
To create an instance that persists between requests, use persistent_id to specify a unique ID for the instance. |
Property Details
$daemon_class_name public_oe property
Holds the cache daemon class name.
public Memcached $daemon_class_name |
return |
Memcached |
|
$engine_class_name public_oe property
Holds the cache engine class name.
public Memcache $engine_class_name |
return |
Memcache |
|
$servers_fallback public_oe property
Holds the fallback servers.
public array $servers_fallback |
return |
array |
|
$servers_global public_oe property
public Memcached $servers_global |
return |
Memcached |
|