summaryrefslogtreecommitdiffstats
path: root/tupkg/client
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-01-04 13:43:58 -0600
committerLoui Chang <louipc.ist@gmail.com>2009-01-08 11:48:58 -0500
commit5d6f465170392861c0438723fa98efd4732d30ec (patch)
treea4b8b2556f2fce6e464322107ceacd24483b8f98 /tupkg/client
parent92643bb8278f3f17d55e1e6c37210ddacb957dae (diff)
downloadaurweb-5d6f465170392861c0438723fa98efd4732d30ec.tar.xz
Cache all front page stats in APC if available
Use the APC cache to store all of the counts and the recently updated package list in a cache, which cuts down on the number of database queries needed. If the data isn't perfectly up to date we will survive. This version of the patch will also cache the relevant counts for individual logged-in users and is more careful about checking whether the value actually exists in the cache by using the status reference to apc_fetch(). Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'tupkg/client')
0 files changed, 0 insertions, 0 deletions