diff options
author | Dan McGee <dan@archlinux.org> | 2009-01-04 13:43:58 -0600 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2009-01-08 11:48:58 -0500 |
commit | 5d6f465170392861c0438723fa98efd4732d30ec (patch) | |
tree | a4b8b2556f2fce6e464322107ceacd24483b8f98 /web/lang/pt/index_po.inc | |
parent | 92643bb8278f3f17d55e1e6c37210ddacb957dae (diff) | |
download | aurweb-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 'web/lang/pt/index_po.inc')
0 files changed, 0 insertions, 0 deletions