made beermapping to use cache