used apc_exists instead of apc_fetch to detect cache exists