To clear the cache in Microsoft Teams, you have to go into the device settings rather than the Teams settings. In Windows, you would use the Windows key + R key. On macOS, you would use the Terminal.
Most apps that update feeds regularly have a cache, and as that cache starts to grow you may experience performance issues. The effects of a cache that's gone outside of its comfort zone can vary, but ...