Browser Cache on Mac: Is It Safe to Clear?

Low riskGeneral macOSUpdated

Facts from the app
Locations
  • ~/Library/Caches/com.apple.Safari
  • ~/Library/Caches/Google/Chrome
  • ~/Library/Caches/Firefox
  • ~/Library/Caches/BraveSoftware/Brave-Browser
Risk level
Low riskRebuilt automatically by macOS or the app that made it. Freshist selects these for you — you still see every item before anything moves.
Selected by default
Yes
What Freshist does
Moves the selected items to the Trash, so you can undo. Nothing is deleted outright.
In the app
Clean → Browser Caches — “Web caches for Safari, Chrome, Firefox, Brave — rebuilt as you browse.”

From Freshist's own cleaning rules — the same catalog the app uses.

What a browser cache holds

When you load a page, the browser saves copies of the files it downloaded (images, stylesheets, JavaScript, fonts, sometimes video segments) so the next visit can reuse them instead of downloading again. It also caches compiled JavaScript and some GPU shader data. That's the HTTP or "disk" cache, and on a Mac it lives under ~/Library/Caches:

BrowserCache locationWhere logins, history and passwords live
Safari~/Library/Caches/com.apple.Safari~/Library/Safari, Safari's container in ~/Library/Containers, the keychain
Chrome~/Library/Caches/Google/Chrome~/Library/Application Support/Google/Chrome
Firefox~/Library/Caches/Firefox/Profiles/<profile>/cache2~/Library/Application Support/Firefox/Profiles
Brave~/Library/Caches/BraveSoftware/Brave-Browser~/Library/Application Support/BraveSoftware/Brave-Browser

That split is why clearing the cache is low-stakes: your profile data is in another folder.

How big it gets

Browsers size their cache based on available disk space, and on a big drive that can mean gigabytes per browser, per profile. Video-heavy sites, web apps such as design tools and online IDEs, and several Chrome profiles add up. Some sites also store data through service workers and Cache Storage, which browsers keep with site data in the profile rather than in ~/Library/Caches.

What happens if you clear it

  • Pages you visit often load slower the first time, then speed up as the cache refills.
  • Sites that served stale content (old CSS after a redesign, for example) show the current version.
  • You stay signed in, and history, bookmarks, extensions, open tabs and saved passwords stay put.
  • Offline data stored by web apps isn't affected unless you also clear site data.

How big each browser cache is

du -sh ~/Library/Caches/Google/Chrome 2>/dev/null
du -sh ~/Library/Caches/Firefox 2>/dev/null
du -sh ~/Library/Caches/BraveSoftware 2>/dev/null

Chrome and Brave also show cache and site data under their settings; Chrome's Delete browsing data dialog estimates how much space cached files use.

Clear it from each browser

Safari. Turn on Settings → Advanced → Show features for web developers, then choose Develop → Empty Caches. Apple's Develop menu documentation describes it as emptying the network cache and other Safari caches. History → Clear History is a different, broader action that also removes history and website data.

Chrome. Open the menu, choose Delete browsing data, pick a time range, check Cached images and files and uncheck Cookies and other site data. Google's help page confirms history and cookies stay in place.

Firefox. Open Settings → Privacy & Security, go to Cookies and Site Data → Clear Data, and select only the cached files and pages option.

Brave. It uses Chrome's dialog: Settings → Privacy and security → Delete browsing data, with only the cached files box checked.

Clearing through the browser is better than deleting folders in Finder. The browser knows which files are in use, and for Safari it's the only way that doesn't need Full Disk Access. If you delete the folders by hand, quit the browser first.

When clearing isn't worth it

Keep the cache on slow or metered connections, before travelling, or when the browser is fine and the disk isn't full. Clear it when a site misbehaves, when disk space is tight, or for a browser you've stopped using. The App caches guide covers the rest of ~/Library/Caches, and Cookies explains the folder that actually keeps you logged in.

Sources

Frequently asked questions

Will clearing the cache log me out of websites?

Not if you clear only the cache. Logins depend on cookies and site data, which browsers store in your profile folder, not in ~/Library/Caches. In each browser's clear-data dialog, leave cookies unchecked.

Does clearing the cache speed up my browser?

Rarely. A cache makes pages load faster. Clearing it helps when a site shows outdated content or behaves oddly after an update, or when the cache has grown very large on a full disk.

Why can't I open Safari's cache folder?

macOS protects ~/Library/Caches/com.apple.Safari with its privacy controls. Finder and Terminal can't read it without Full Disk Access, which is one more reason to use Safari's own Empty Caches command.

Keep reading