How to force a refresh/rebuild of Microsoft Teams client cache…
Quick one, if you need to force a refresh or rebuild of the Microsoft Teams client cache on Windows or Mac, do the following:
- Quit Microsoft Teams
- Delete or rename the following directory/folder:
Windows
%AppData%\Microsoft\Teams\IndexedDB
Mac
~/Library/Application Support/Microsoft/Teams/IndexedDB
3. Start Microsoft Teams.
The folder you renamed or deleted will be recreated and a fresh cache will be downloaded from the service.
The client does this automatically every 24 hours but to speed up certain changes this might help.
So far, I have seen this help the following:
- Speed up caching delay when moving other users to SfB* coexistence modes.
- When moving an Islands user from Skype on-prem to Skype online, chat with SfB* coexistence mode users won’t work until the cache is updated.
- Performance issues of the Teams application
UPDATE (21.05.19): I have been made aware of Mark Vale’s blog post here which clears a lot more cache locations. This covers things like icons, thumbnails, names, local message history, giphys as well as the web client cache. Hope this helps people out too.