Cache implemented to improve the performance