PHP 클래스 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.
파일 보기
프로젝트 열기: stuttter/wp-spider-cache
공개 프로퍼티들
공개 메소드들
메소드 상세
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. |
프로퍼티 상세
$daemon_class_name 공개적으로 프로퍼티
Holds the cache daemon class name.
public Memcached $daemon_class_name |
리턴 |
Memcached |
|
$engine_class_name 공개적으로 프로퍼티
Holds the cache engine class name.
public Memcache $engine_class_name |
리턴 |
Memcache |
|
$servers_fallback 공개적으로 프로퍼티
Holds the fallback servers.
public array $servers_fallback |
리턴 |
array |
|
$servers_global 공개적으로 프로퍼티
public Memcached $servers_global |
리턴 |
Memcached |
|