aurweb/web/html
Dan McGee 55da4d4e0d Don't hit the database twice per comment on package
It's performance improvement day today. For non-superusers, we were hitting
the database twice per comment on a package- once to get the UID, and once
to check the owner of the comment. The best part is we already knew the
owner of the comment, and we only need to get our own UID once.

For viewing a package like yaourt, this cuts a single pageview from over 700
queries to around 18, which is still not great but a pretty big improvement.

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
2009-04-13 10:07:46 -04:00
..
css Revamp markup and styles for comments. 2009-02-18 23:01:25 -05:00
images Remove obsolete padding images. 2009-01-24 01:23:35 -05:00
xml Added html/web/xml directory. 2007-10-03 08:00:05 -04:00
account.php Use new conglomerated translation files. 2009-01-19 16:29:45 -05:00
addvote.php Use new conglomerated translation files. 2009-01-19 16:29:45 -05:00
index.php Use new conglomerated translation files. 2009-01-19 16:29:45 -05:00
logout.php Introduce function include_lang for translations. 2008-12-21 18:03:27 +09:00
packages.php Fix the comment poop bug. 2009-02-20 20:59:07 -05:00
pkgedit.php Don't hit the database twice per comment on package 2009-04-13 10:07:46 -04:00
pkgsubmit.php Tweak the bash parsing for package submission. 2009-04-01 11:55:59 -04:00
rpc.php Moved usage documentation out of the class. 2008-01-19 23:49:35 -06:00
rss2.php Remove all vim mode lines. Add HACKING file. 2008-06-17 01:38:01 -04:00
tu.php Change layout of tu_details. 2009-02-13 15:31:05 -05:00
user_docs.html more doc updates for the release 2005-04-10 15:55:37 +00:00