aurweb/web/template
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
..
stats Fix user stats table links. 2009-03-02 13:38:54 -05:00
actions_form.php Move package comment form into a new template. 2009-01-25 13:17:54 -05:00
footer.php Bring version footer in with the rest of the site body. 2009-01-23 15:05:46 -05:00
header.php Rework login form. 2009-01-24 00:40:30 -05:00
login_form.php Redirect to REQUEST_URI after logging in. 2009-03-03 13:06:37 -05:00
pkg_comment_form.php Move package comment form into a new template. 2009-01-25 13:17:54 -05:00
pkg_comments.php Don't hit the database twice per comment on package 2009-04-13 10:07:46 -04:00
pkg_details.php Fix Sources listing in package details. 2009-02-13 14:33:14 -05:00
pkg_search_form.php XHTML Validation fixes. 2009-02-18 09:42:39 -05:00
pkg_search_results.php Fix search output if no results are found. 2009-03-03 13:22:53 -05:00
search_accounts_form.php fixed indention + xhtml in search_accounts_form.php 2008-06-09 20:04:59 +08:00
template.phps Use new conglomerated translation files. 2009-01-19 16:29:45 -05:00
tu_details.php Change layout of tu_details. 2009-02-13 15:31:05 -05:00
tu_list.php Change layout of tu_details. 2009-02-13 15:31:05 -05:00