19 static $memcache_available;
21 if ((!isset($CONFIG->memcache)) || (!$CONFIG->memcache)) {
26 if (($memcache_available !==
true) && ($memcache_available !==
false)) {
30 $memcache_available =
true;
31 }
catch (Exception
$e) {
32 $memcache_available =
false;
36 return $memcache_available;
48 static $newentity_cache;
54 if ($newentity_cache) {
_elgg_invalidate_memcache_for_entity($entity_guid)
Invalidate an entity in memcache.
elgg global
Pointer to the global context.
is_memcache_available()
Return true if memcache is available and configured.