diff options
author | Dan McGee <dan@archlinux.org> | 2009-01-04 20:43:58 +0100 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2009-01-08 17:48:58 +0100 |
commit | 5d6f465170392861c0438723fa98efd4732d30ec (patch) | |
tree | a4b8b2556f2fce6e464322107ceacd24483b8f98 /support/scripts | |
parent | 92643bb8278f3f17d55e1e6c37210ddacb957dae (diff) | |
download | aur-5d6f465170392861c0438723fa98efd4732d30ec.tar.gz aur-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 'support/scripts')
0 files changed, 0 insertions, 0 deletions