Brad Fitzpatrick (bradfitz) wrote in changelog,

livejournal

Module Name: livejournal
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/livejournal/htdocs/userinfo.bml.diff?r1=1.79&r2=1.80
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded  

  • 8 comments