APC cache functions