Committed By: bradfitz
Date: Sun Feb 23 18:41:58 UTC 2003
Modified Files:
---------------
livejournal/htdocs: userinfo.bml
Log Message:
------------
optimize the crap out of userinfo.bml:
-- use LJ user-loading functions for caching
-- don't use protocol for friends load... too heavy for what we need
-- limits in queries everywhere. should make loading pages
of popular users much faster (news, paidmembers, lj_maintenance, etc..)
-- avoid queries in common cases: when under 501 friends, we can
get the count from the result. if we get 501 friends, then we
get the real count.
-- remove join between interests+userinterests for showing common
interests
-- work with numbers instead of strings in a few places
To generate a diff of this commit:
cvs rdiff -r1.79 -r1.80 livejournal/htdocs/userinfo.bml
http://cvs.livejournal.org/browse.cgi/l