Skip to content
  • Dan McGee's avatar
    Cache all front page stats in APC if available · 5d6f4651
    Dan McGee authored and louipc louipc's avatar louipc louipc committed
    
    
    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: default avatarDan McGee <dan@archlinux.org>
    Signed-off-by: default avatarLoui Chang <louipc.ist@gmail.com>
    5d6f4651