You are here

function cache_get in Memcache API and Integration 5

Same name in this branch
  1. 5 memcache.db.inc \cache_get()
  2. 5 memcache.inc \cache_get()
Same name and namespace in other branches
  1. 5.2 memcache.db.inc \cache_get()
  2. 5.2 memcache.inc \cache_get()
  3. 6 memcache.db.inc \cache_get()
  4. 6 memcache.inc \cache_get()

Return data from the persistent cache.

Parameters

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

$table: The table $table to store the data in. Valid core values are 'cache_filter', 'cache_menu', 'cache_page', or 'cache' for the default cache.

File

./memcache.inc, line 16

Code

function cache_get($key, $table = 'cache') {
  return dmemcache_get($key, $table);
}