How to clear your browser cache on a Mac

Updated

Short answer

Open your browser’s clear-data dialogue, choose cached images and files only, and clear. Leave cookies unticked unless you want to be signed out of your sites. Clearing the cache is safe; pages load a little slower the first time afterwards.

Cache, history and cookies are different

  • Cache. Saved copies of images, scripts and pages so sites load faster. Clearing it loses nothing but speed on the next visit.
  • History. The list of pages you visited. Clearing it removes the list and the suggestions that come from it.
  • Cookies. Small files that remember you, including that you are signed in. Clearing them signs you out of sites and can reset preferences.

Safari

  1. Open Safari > Settings > Advanced and tick Show features for web developers.
  2. Choose Develop > Empty Caches in the menu bar.
  3. For history, choose History > Clear History and pick a time range.

Chrome and Edge

Press Command-Shift-Delete, or open the browser menu and choose the option to delete browsing data. Pick a time range, tick Cached images and files, and untick cookies if you want to stay signed in. Then clear.

Firefox

Open Firefox > Settings > Privacy & Security and find Cookies and Site Data. Click Clear Data, untick cookies, keep Cached Web Content ticked, and confirm.

Why the cache comes back

Browsers rebuild their cache as you browse, so it grows again. That is how it is meant to work. Clearing it helps when a page looks broken or you need the space once; doing it daily makes sites load slower for no gain. Other caches on your Mac behave the same way. See whether it is safe to clear cache and what is safe to delete in the Library folder.

What JunkTrace does differently

JunkTrace's Privacy tool clears browser caches and history, plus recent-item lists and the download log. Cookies are off by default, so you stay signed in.

Related guides