User Agents

How to Empty Cache in Safari: Quick Steps & Tips

Clearing Safari’s cache removes temporary files that browsers store to speed up loading, but can also resolve loading errors, privacy concerns, and free up storage. When you notice pages loading slowly, displaying outdated content, or encountering login issues, a cache reset is often the first troubleshooting step. This guide walks you through the exact steps for macOS and iOS, explains common pitfalls, offers handy shortcuts, and provides troubleshooting advice if the cache doesn’t clear as expected.

What You’ll Need

  • A Mac running macOS 10.12 or later, or an iPhone/iPad running iOS 12 or later.
  • The Safari browser installed and up to date.
  • Administrative access to the device if you need to enable the Develop menu on macOS.
  • An internet connection is optional; the process works offline.

Step‑by‑Step

  1. Open Safari. Launch the browser from the Dock, Launchpad, or Spotlight search.
  2. Access Preferences on macOS. Click Safari in the menu bar, then choose Preferences…. On iOS, tap the Settings app, scroll to Safari, and tap it.
  3. Enable the Develop menu on macOS. In the Preferences window, select the Advanced tab. At the bottom, check the box labeled Show Develop menu in menu bar. This step is required only for macOS; iOS does not use a Develop menu.
  4. Close Preferences. Click the red close button or press Cmd + W to exit the Preferences window.
  5. Open the Develop menu. On macOS, click the new Develop menu that appears in the menu bar. On iOS, skip to step 6.
  6. Empty caches on macOS. From the Develop menu, select Empty Caches. Safari will immediately purge cached files for all websites.
  7. Clear history and website data on iOS. In the Safari settings, tap Clear History and Website Data. Confirm the action; this removes cached files, cookies, and local storage.
  8. Restart Safari. Close the browser completely, then reopen it to ensure changes take effect.
  9. Verify the cache is cleared. Visit a website you know has changed recently. If the new content loads instead of the old cached version, the cache has been successfully emptied.
  10. Optional: Use a keyboard shortcut on macOS. Press Option + Cmd + E to empty caches without navigating menus.

Common Mistakes

  • Assuming the cache is cleared when only the History list is emptied; the cache and cookies remain unless explicitly removed.
  • Using the Clear History option on iOS, which only deletes history and not cached files.
  • Not enabling the Develop menu on macOS before attempting to empty caches.
  • Running the cache‑clear command while Safari is minimized, which can cause the operation to fail silently.
  • Expecting all site data to be removed; cookies for sites you’re logged into may persist if you choose to keep them.

Tips

  • Use Private Browsing mode for sessions where you don’t want any cache or history to be stored.
  • Regularly clear Safari’s cache after installing major OS updates to avoid compatibility hiccups.
  • Leverage third‑party utilities like CleanMyMac X or Onyx for bulk cache management across multiple browsers.
  • Enable Auto‑Delete Cookies in Safari settings to keep the cache lean without manual intervention.
  • Keep a backup of important bookmarks and passwords before clearing cache, even though the process does not delete them.

Troubleshooting

  • Cache not clearing on macOS. Verify that the Develop menu is still enabled. If it’s missing, revisit Preferences → Advanced and re‑check the box.
  • Safari still shows old content. Some sites use aggressive caching headers. Try clearing the site’s cookies by selecting Safari → Preferences → Privacy → Manage Website Data and removing the specific site.
  • Error: “Unable to empty caches.” Restart Safari and the computer, then attempt the operation again.
  • iOS not deleting cached files. Ensure you selected Clear History and Website Data rather than just Clear History in Settings → Safari.
  • Develop menu appears but is grayed out. This can happen if Safari is running in a restricted environment (e.g., managed by an organization). Contact your IT administrator.

Frequently Asked Questions

Does clearing Safari’s cache delete my saved passwords?

No. Passwords are stored in the Keychain, not in the cache. They remain intact after a cache clear.

Will clearing the cache remove my bookmarks?

No. Bookmarks are separate from cached data and are preserved.

Can I clear Safari’s cache on an iPhone?

Yes. Go to Settings → Safari → Clear History and Website Data. This removes cached files and cookies.

How often should I clear Safari’s cache?

There’s no strict rule, but clearing it every few weeks or after major OS updates keeps the browser running smoothly.

What if the Develop menu is missing on my Mac?

Open Safari → Preferences → Advanced and check the box to show the Develop menu. If it still doesn’t appear, restart Safari or the computer.

Will clearing the cache free up significant storage space?

It depends on how much data Safari has cached. For most users, it can free up a few megabytes to a few hundred megabytes.