You are here

function memcache_test_set in Memcache API and Integration 7

Set a value into the cache.

1 string reference to 'memcache_test_set'
memcache_test_menu in tests/memcache_test.module
Implements hook_menu().

File

tests/memcache_test.module, line 93

Code

function memcache_test_set($key, $value) {
  $cache = cache_set($key, $value, 'MemcacheDrupal');
  drupal_json_output(cache_get($key, 'MemcacheDrupal'));
}