Added comments and renamed cache to apcCache