Slack, Discord, Notion, Figma, Postman, Signal and Obsidian are Electron apps: each one is a copy of the Chromium browser with a website inside. Like a browser, each keeps the pages, images, scripts and compiled code it has loaded, so that the next start is fast. Nothing expires them in a useful way, so after a year of busy workspaces 2 to 5 GB per app is common.
The cache is safe to delete. The rest of the app folder is not: it holds your login, settings and, for some apps, your local data.
Where the folders are
Mac, in ~/Library/Application Support/<App> (the folder name is the app’s, for example Slack, discord, Notion, Figma, Postman, Signal, obsidian), and a few apps also in ~/Library/Caches/<bundle id>.
Ubuntu, in ~/.config/<App>. Snap apps keep theirs in ~/snap/<app>/current/.config/<App> and Flatpak apps in ~/.var/app/<id>/cache and ~/.var/app/<id>/config.
# Mac
du -sh ~/Library/Application\ Support/{Slack,discord,Notion,Figma,Postman,Signal,obsidian} 2>/dev/null
# Ubuntu
du -sh ~/.config/{Slack,discord,Notion,Figma,Postman,Signal,obsidian,teams-for-linux} ~/.var/app/*/cache 2>/dev/null
Inside an app folder, these subfolders are caches:
CacheCode CacheGPUCache,DawnCache,DawnGraphiteCache,DawnWebGPUCache,GrShaderCache,ShaderCacheService Worker/CacheStorageandService Worker/ScriptCache
Some apps nest them one level deeper, in Partitions/<name> (Slack workspaces, Figma’s DesktopProfile).
Delete them by hand, safely
- Quit the app completely (on a Mac, also from the menu bar; on Ubuntu, check
pgrep -a slack). Deleting under a running app corrupts its state. - Delete only the cache folders above:
cd ~/Library/Application\ Support/Slack # Ubuntu: ~/.config/Slack
rm -r "Cache" "Code Cache" "GPUCache" "Service Worker/CacheStorage"
- Start the app. It rebuilds the cache; the first start is slower and images reload.
Do not delete these: Local Storage, Session Storage, IndexedDB, Cookies, databases, Preferences, config.json. They hold your login and local data. Deleting them logs you out at best, and loses data kept only on this computer at worst. In Signal, for instance, your messages are stored locally, so delete nothing there except the folders in the list above.
Why is it so big?
- The cache is not trimmed on a schedule, and the apps rarely clean it up.
- Each workspace or account can have its own partition with its own cache.
- Service workers cache whole copies of the web app and keep old versions after updates.
- Old app versions leave their folders after you reinstall or switch between a Snap, a Flatpak and a normal install.
Music and podcast apps (Spotify, Apple Music, Podcasts) keep caches the same way, plus offline downloads: see their downloads and cache.
How CleanMate does it
- macOS: the current version does not clean these app caches yet; use the steps above (all macOS features). One item per app, each skipped while the app runs, is coming in the next release.
- Ubuntu: CleanMate lists each app’s caches as its own item, with the size, and removes nothing until you confirm. Every folder in
~/.configwith the cache folders above is listed under the app name, for example Slack, Discord, Signal, Obsidian, Teams (teams-for-linux), Notion, Postman and Element, and Flatpak apps as “(Flatpak)” (all Ubuntu features). It removes only those cache folders, never the app’s settings or login, and the app has to be closed first.
If your disk is still full, the next suspects are the language versions you installed (old Node, Python, Ruby, Rust and Go versions), Free up disk space on a Mac as a developer and on Ubuntu. To compare CleanMate with other cleaners, see the comparison.
FAQ
Will I be logged out of Slack or Discord if I delete the cache? No, as long as you delete only the cache folders. Logins are in Cookies and Local Storage.
Is it safe to delete the Slack cache on a Mac? Yes. Quit Slack, delete Cache, Code Cache, GPUCache and Service Worker/CacheStorage in ~/Library/Application Support/Slack. Slack rebuilds them.
Why does Discord take so much space on my disk? Its cache holds the images, videos and scripts of every server you scroll through. It is rebuilt as you use the app.
Can I stop the cache from growing? Not in the app’s settings. Cleaning it from time to time is the usual answer.
