19     static $memcache_available;
 
   26     if (($memcache_available !== 
true) && ($memcache_available !== 
false)) {
 
   28             $tmp = new \ElggMemcache();
 
   30             $memcache_available = 
true;
 
   31         } 
catch (Exception 
$e) {
 
   32             $memcache_available = 
false;
 
   36     return $memcache_available;
 
   48     static $newentity_cache;
 
   51         $newentity_cache = new \ElggMemcache(
'new_entity_cache');
 
   54     if ($newentity_cache) {
 
_elgg_invalidate_memcache_for_entity($entity_guid)
Invalidate an entity in memcache.
 
is_memcache_available()
Return true if memcache is available and configured.