Which cache directories exist on macOS, which are genuinely regenerable, and the handful that will cost you data if you delete them.
8 λεπτά ανάγνωσης · Ενημερώθηκε 13 Σεπτεμβρίου 2026
Τα άρθρα μας είναι γραμμένα μόνο στα αγγλικά. Η εφαρμογή και ο υπόλοιπος ιστότοπος είναι πλήρως μεταφρασμένα.
macOS has three cache directories and they are not equally safe.
~/Library/Caches is per-user and holds caches written by apps you run. This is the one people mean, and the great majority of it is regenerable. /Library/Caches is system-wide and holds caches written by installers and background services; it is smaller and slightly riskier. /System/Library/Caches belongs to the operating system, is protected by System Integrity Protection, and must be left alone — you will usually be refused permission anyway, which is the correct outcome.
Inside ~/Library/Caches each app gets a folder named by its bundle identifier: com.google.Chrome, com.apple.Safari, com.spotify.client, com.tinyspeck.slackmacgap. Ranking them tells you immediately whether it is worth doing anything at all.
du -h -d 1 ~/Library/Caches 2>/dev/null | sort -rh | head -20A cache is, by definition, data that can be recreated from a source of truth. The risk is never that the data is irreplaceable; it is that the app is running while you remove the file it is mid-write to, which can leave it in a confused state until relaunch.
So the procedure is: quit the app, move its cache folder to the Trash, relaunch the app, use it normally for a day, then empty the Trash. That sequence makes every step reversible until the last one. Deleting the folder for an app you are not running is close to risk-free.
These reliably hold real space and rebuild cleanly:
brew cleanup --prune=all
npm cache clean --force
pnpm store prune
go clean -modcacheSome directories sit near the caches and look like caches, and are not.
If you cannot say what an app would lose by having a folder deleted, that is the signal to leave it alone. The space you would save is rarely worth the afternoon.
Browsers deserve their own paragraph because they are usually the largest cache on a non-developer Mac and because the terminology confuses people.
A browser keeps at least four separate stores, and only one of them is the cache. The HTTP cache holds copies of images, scripts and stylesheets so pages load faster; deleting it costs you nothing but a slower first reload. Cookies and session storage keep you signed in and live elsewhere. Site data — IndexedDB and local storage — holds things like offline documents in web apps, and deleting it can genuinely lose unsynced work. Profile data holds bookmarks, history and saved passwords, and must never be touched.
Clearing the cache from inside the browser (Chrome: Settings → Privacy → Delete browsing data, with only "Cached images and files" ticked) is safer than deleting the directory, because the browser then updates its own index rather than discovering a missing file later. Deleting ~/Library/Caches/com.google.Chrome while Chrome is closed is also fine and slightly more thorough.
One caveat that catches people out: Chrome and its relatives keep a separate cache per profile. If you use work and personal profiles, both need clearing, and the sizes are reported separately.
Be realistic about the payoff. On a typical non-developer Mac, clearing every user cache returns 5–15 GB, and roughly half of it comes back within a week as the apps refill. It is worth doing once when you are short of space; it is not a maintenance ritual, and it is not the reason your Mac feels slow.
On a developer Mac the numbers are different — DerivedData and simulator runtimes alone are frequently 40 GB or more — but those are covered by their own articles because the safe procedures are specific to Xcode.
If you want the ranked answer without running commands, Dropit groups caches per app with their real sizes and marks each one with why it is safe: "regenerable cache — Chrome rebuilds it on next launch" reads differently from "app data". Seeing the list is free. Sending the selection to the Trash in one action is the paid part, and it uses the real Trash, so Put Back works.
For the great majority of apps, yes, provided the app is not running. Quit the app, move the folder to the Trash, relaunch, and empty the Trash a day later.
No. Browser cookies, sessions and saved passwords are stored separately from the cache directory.
Only when you need the space. Caches exist to make things faster; clearing them on a schedule just makes your Mac slower for a few days at a time.
Usually the opposite in the short term, because the cache has to be rebuilt. It helps only in the specific case where a corrupted cache is causing an app to misbehave.
Μία πληρωμή. Όλες οι μελλοντικές ενημερώσεις περιλαμβάνονται. Λειτουργεί σε δύο από τα Mac σας.
Λήψη