Clear Teams app's cache

Scenario

If you are having problem with the app being slow, pictures won’t load, some features aren’t working, and or maybe it isn’t working in Teams, clearing teams cache is a way to go.

 

Steps

Specific steps has been defined for different client. Please go through below what applies on your end.

Mac OS

  1. Quit Teams app
  2. Open a Terminal
  3. Type rm -r ~/Library/Application\ Support/Microsoft/Teams
  4. Relaunch the Teams app

Windows OS

Logoff and cache folders Signing out of the app will clear most cached data. However, if you still have issues after logoff/logon, Quit Teams and manually clear cached folders

Manual removal Moreover, note that you may not have all of the same folders, but it’s imperative to clear the cache in the folders that you do have if you’d like to have the local desktop issue cleared and resolved.

Access the Run in your Windows OS then go through each path below and delete the files or folders inside.

App Cache 

%appdata%\Microsoft\Teams\Application Cache

App files, cached CDN files ( JS,CSS, etc ) Locations
Blob_Storage

%appdata%\Microsoft\Teams\Blob_Storage
Cache

%appdata%\Microsoft\Teams\Cache

Web Cache for Electron (Images, JS files, Cookies, Profile Photos)
databases

%appdata%\Microsoft\Teams\databases
IndexedDb

%appdata%\Microsoft\Teams\IndexedDB

This data is completely cleared on logoff. The levelDb database, Messages, Groups
GPUCache

%appdata%\Microsoft\Teams\GPUCache
LocalStorage

%appdata%\Microsoft\Teams\LocalStorage

web Local Storage ( Setup for O365 Sites )
Tmp

%appdata%\Microsoft\Teams\tmp

Restart Teams

In addition, once finally done clearing, you can now restart Teams from your desktop and all cache will be cleared from the desktop app.

Miscellaneous

%appdata%\Microsoft\Teams\

Media-stack – Media Etls, and logs
Cookies – First Time Launch, Theme, session IDs
Settings.json – Electron framework Settings ( Ring, Logging, Framework, Auth )
Desktop-config.json – App state (Desktop) (Fullscreen, Run at start, Last Crash Type)

Teams web app

Lastly, unless you have the Desktop app installed, you shouldn’t see cache in the places above. Clearing browser cache by the appropriate way per browser should achieve the same goals as above.

 

References