Privacy & Security

Browser Caches Explained: What They Are and When to Clear Them

How browser caches work, where they're stored on macOS, when clearing helps, and the privacy implications of cached data.

Every web browser on your Mac maintains a cache of downloaded web content. Understanding what's in this cache, how big it gets, and when to clear it helps you make informed decisions about storage and privacy.

What browsers cache

When you visit a website, your browser downloads HTML, CSS, JavaScript, images, fonts, and other assets. Instead of downloading these again on your next visit, the browser stores them locally in a cache. This makes repeat visits faster and reduces bandwidth usage.

Browsers also cache: - Service Worker data — Offline-capable web apps store data for offline use - HTTP responses — API responses and data from web applications - DNS lookups — Recently resolved domain names - TLS session data — Encryption session resumption data

Where browsers store caches on macOS

Each browser has its own cache location:

Safari - ~/Library/Caches/com.apple.Safari/

Google Chrome - ~/Library/Caches/Google/Chrome/ - Service Worker caches in the profile directory

Firefox - ~/Library/Caches/Firefox/

Brave - ~/Library/Caches/BraveSoftware/Brave-Browser/ - Service Worker caches

Microsoft Edge - ~/Library/Caches/com.microsoft.edgemac/ - Service Worker caches

Arc - ~/Library/Caches/company.thebrowser.Browser/

If you use multiple browsers, the combined cache size can easily reach several gigabytes.

When clearing helps

Storage recovery: If you're running low on disk space, browser caches are safe to delete. They'll be rebuilt as you browse.

Website issues: If a website looks broken, shows old content, or behaves unexpectedly, clearing the cache forces the browser to download fresh copies of everything.

After a website update: If you're a web developer and your changes aren't appearing, clearing the cache eliminates the "is it cached?" question.

Privacy: Cached data reveals your browsing history to anyone with access to your Mac. Clearing caches removes this local trace.

When clearing doesn't help

Speed improvements: Clearing your cache won't make your browser faster. In fact, it temporarily makes browsing slower because everything needs to be re-downloaded.

Memory issues: Browser cache is stored on disk, not in RAM. If your browser is using too much memory, clearing the cache won't help. You need to close tabs or restart the browser.

Cookie-related issues: Caches and cookies are different things. Clearing the cache doesn't log you out of websites or remove cookie-based tracking.

Privacy implications

Your browser cache is essentially a local copy of every website you've visited. Someone with access to your Mac (or your user account) could examine the cache to determine:

  • Which websites you've visited
  • Images you've viewed
  • Documents you've downloaded inline
  • Web apps you've used

This is separate from browser history. Even if you clear your history, the cache might still contain evidence of your browsing.

Selective cleanup

Rather than using each browser's built-in "Clear Cache" option (which often clears cookies and other data you might want to keep), you can clean caches at the filesystem level.

CleanMyMacOS detects which browsers are installed on your Mac, scans their cache sizes, and lets you selectively clean each one. You see the exact size of each browser's cache before deciding what to clear. Only cache data is removed — your bookmarks, passwords, and login sessions are untouched.

CleanMyMacOS can help with this — download it free from the Mac App Store.