cache frequently-used subscriber, subscription, notice and fave count values

This commit is contained in:
Evan Prodromou
2009-07-09 17:28:38 -07:00
parent efd94b4e54
commit 8b65883f9d
7 changed files with 157 additions and 44 deletions

View File

@@ -494,6 +494,8 @@ class User extends Memcached_DataObject
$cache->delete(common_cache_key('fave:ids_by_user_own:'.$this->id));
$cache->delete(common_cache_key('fave:ids_by_user_own:'.$this->id.';last'));
}
$profile = $this->getProfile();
$profile->blowFaveCount();
}
function getSelfTags()