Implemented caching for the category list