How to Clear Cache in Safari on iPhone, iPad, and Mac

Safari stores temporary files — images, scripts, page data — to help websites load faster on repeat visits. This collection of stored data is called the cache, and while it speeds things up day-to-day, it can also cause problems: outdated content loading instead of the live version, pages behaving unexpectedly, or Safari running sluggishly over time. Clearing the cache is one of the most reliable first steps when troubleshooting browser issues.

Here's how it works across every major Apple platform, plus the variables that affect what clearing cache actually does for your experience.

What Safari's Cache Actually Stores

When you visit a website, Safari downloads files and saves them locally so the next visit loads faster. The cache can include:

  • Images and media from previously visited pages
  • HTML, CSS, and JavaScript files that structure and style pages
  • Cookies and session data (sometimes cleared alongside cache, sometimes separately)
  • Database storage used by web apps

The cache is separate from your browsing history (a list of URLs you've visited) and your saved passwords. Clearing cache won't delete those unless you specifically choose to.

How to Clear Cache in Safari on iPhone and iPad

Apple bundles cache clearing into the same menu as history and cookies on iOS and iPadOS.

Steps:

  1. Open the Settings app (not Safari itself)
  2. Scroll down and tap Safari
  3. Scroll to the bottom and tap Clear History and Website Data
  4. Confirm the action

⚠️ This clears your browsing history, cookies, and cache together. There's no built-in option on iOS/iPadOS to clear only the cache while keeping history intact — it's an all-or-one operation at the system level.

If you're signed into iCloud with Safari syncing enabled, this action may also clear history and data across your other Apple devices connected to the same Apple ID.

How to Clear Cache in Safari on Mac

macOS gives you more granular control than iOS.

Option 1: Clear History (Includes Cache and Cookies)

  1. Open Safari
  2. Click History in the menu bar
  3. Select Clear History…
  4. Choose a time range (last hour, today, today and yesterday, or all history)
  5. Click Clear History

Option 2: Clear Cache Without Deleting History

This is the more surgical approach on Mac:

  1. Open Safari
  2. Click Safari in the menu bar, then Settings (or Preferences on older macOS versions)
  3. Go to the Advanced tab
  4. Check the box labeled Show features for web developers (or "Show Develop menu in menu bar" on older versions)
  5. Close Settings
  6. Click the Develop menu that now appears in the menu bar
  7. Select Empty Caches

This clears stored site files without touching your browsing history, logins, or cookies — a useful distinction when you want to force a page to reload fresh without losing your session data.

Option 3: Remove Data for Specific Sites

If you only want to clear cache for one website rather than everything:

  1. Go to Safari → Settings → Privacy
  2. Click Manage Website Data…
  3. Search for the site, select it, and click Remove

Key Variables That Shape Your Experience 🔍

Clearing cache isn't a universal fix — the impact depends on several factors:

VariableWhy It Matters
iOS vs macOSiOS combines history, cookies, and cache; macOS allows separate clearing
iCloud SyncIf Safari sync is on, clearing on one device may affect others
Safari versionOlder macOS versions use "Preferences" and "Develop menu" wording; newer ones use "Settings" and "Features for web developers"
Website data sizeHeavy cache buildup (common on media-rich or web app-heavy browsing) will show more noticeable improvement after clearing
Private Browsing usePrivate tabs don't build cache between sessions, so regular clearing matters less if you browse privately

What Happens After You Clear Cache

After clearing, the first load of any previously cached site will be slower — Safari has to re-download everything from scratch. This is normal and temporary. Pages should return to their usual speed on the second and subsequent visits as the cache rebuilds.

You may also find yourself logged out of websites if you cleared cookies alongside cache. On iOS, this is unavoidable. On Mac, using the Develop menu's Empty Caches option preserves your cookies and keeps you logged in.

Some users clear cache regularly as maintenance; others only do it when something breaks. Neither approach is universally correct — how often cache causes problems depends on how many sites you visit, how frequently those sites update their content, and how much local storage your device has available.

The Part That Depends on Your Setup

The mechanics of clearing Safari's cache are straightforward, but whether it solves your actual problem — slow loading, broken layouts, stale content, storage concerns — depends on what's actually causing the issue. Cache is one layer. Cookies, extensions, network conditions, and the site itself are others. On macOS, you have enough control to isolate cache specifically. On iOS and iPadOS, the tradeoff is simplicity at the cost of granularity.

Your device, your iCloud setup, and which version of Safari you're running will determine which steps apply and what clearing actually resets.