Implemented caching for GetAllTags