Implemented caching categories list.