If your browser is loading pages slowly, websites look broken, or your device is running low on storage, stale cache could be the culprit. Clearing it forces your system to fetch fresh files instead of relying on outdated copies saved during earlier visits.

In this guide, I cover every major browser — Chrome, Safari, Edge, Firefox, Opera — and all common operating systems including Windows, macOS, Linux, ChromeOS, Android, and iOS. I also provide specific steps for both desktop and mobile devices.

What is cache and why should you clear it?

Cache is temporary data your browser and operating system store to speed up repeat actions. When you visit websites or use apps, these files accumulate over time and can cause slow loading, broken layouts, or wasted storage space.

Cache works well until it stops being helpful. Over time, three issues can build up:

  • Websites update their pages, but your browser keeps serving the old stored versions — so layouts break, images don’t load, or buttons stop working.
  • Temporary files pile up and quietly eat into your storage.
  • Old cached data can clash with newer versions of a site, causing pages to glitch even when nothing’s wrong on the website’s end.

Clearing the cache hands your browser a clean slate, forcing it to fetch fresh files and freeing up storage in the process.

How to clear cache on web browsers

Most desktop browsers share the same keyboard shortcut. Safari is the exception. Here’s the quick reference:

BrowserDesktop ShortcutMenu PathCache Checkbox Label
ChromeCtrl+Shift+Delete (Win/Linux) · Cmd+Shift+Delete (Mac)⋮ menu → Delete browsing dataCached images and files
SafariNo shortcutSafari → Settings → Advanced → enable Develop menu → Develop → Empty CachesAutomatic
EdgeSame⋯ menu → Settings → Privacy, search, and services → Choose what to clearCached images and files
FirefoxSame≡ menu → Settings → Privacy & Security → Clear DataCached Web Content
OperaSameSettings → Privacy & security → Clear browsing dataCached images and files

Google Chrome (Windows, Linux, and macOS)

  1. Press Ctrl + Shift + Delete (Windows/Linux) or Cmd + Shift + Delete (Mac). Alternatively, click the three-dot menu > Delete Browsing Data.
    Delete browsing data Chrome browser 1
  2. Choose a time range (for example “All time” for a full clear.
  3. Check Cached images and files. Uncheck anything you want to keep, such as cookies or passwords.
  4. Click Delete from this device.
    Delete browsing data Chrome browser 2

Google Chrome (Android)

  1. Open Google Chrome and tap the three-dot menu (top-right).
  2. Tap Settings > Privacy and security > Clear browsing data.
  3. Select Cached images and files, choose a time range, then tap Clear data.

Google Chrome (iOS)

  1. Open Chrome and tap the three-dot menu. Google Chrome iOS clear cache 1
  2. Select Settings.
    Google Chrome iOS clear cache 2
  3. Go to Privacy and security.
    Google Chrome iOS clear cache 3
  4. Select Delete browsing data.
    Google Chrome iOS clear cache 4
  5. Pick a time range, select Cached images and files > Delete Data to confirm.
    Google Chrome iOS clear cache 5

Safari (macOS)

  1. Open Safari, click Safari > Settings.
    Remove website data Safari 1
  2. Go to Privacy and select Manage Website Data.
    Remove website data Safari 2
  3. Select Remove All.
    Remove website data Safari 3
  4. Click Remove Now to confirm.
    Remove website data Safari 4

Safari (iOS)

  1. Open the iOS Settings app (not Safari itself).
  2. Scroll down to Apps.
    Clear cache Safari iOS
  3. Scroll down and tap Safari.
    Clear cache Safari iOS 2
  4. Tap Clear History & Website Data.
    Clear cache Safari iOS 3
  5. Select a timeframe and confirm by tapping Clear History.
    Clear cache Safari iOS 4

Note: On iOS this clears cache, cookies, and browsing history together. There’s no way to clear cache alone.

Microsoft Edge (Windows and macOS)

  1. Press Ctrl + Shift + Delete (Windows) or Cmd + Shift + Delete (Mac), or click the three-dot menu and select Settings.
    Edge clear cache macOS 1
  2. Go to Privacy, search, and services.
    Edge clear cache macOS 2
  3. Select Clear browsing data > Choose what to clear.
    Edge clear cache macOS 3
  4. Check Cached images and files, select a time range, then click Clear now.
    Edge clear cache macOS 4

Microsoft Edge (Android and iOS)

  1. Open Edge, tap the menu (three lines, bottom-right).
    Safari clear cache iOS 1
  2. Select Settings.
    Safari clear cache iOS 2
  3. Tap Privacy and Security.
    Safari clear cache iOS 3
  4. Select Delete Browsing Data.
    Safari clear cache iOS 4
  5. Select a time range, check Cached files, and select Delete data.
    Safari clear cache iOS 5

Mozilla Firefox (Windows, Linux, and macOS)

  1. Press Ctrl + Shift + Delete (Windows/Linux) or Cmd + Shift + Delete (Mac) or tap the menu (three lines) and select Settings.
    Firefox clear cache macOS 1
  2. If navigating via Settings, select Privacy & Security > Clear Data (under Cookies and Site Data).
    Firefox clear cache macOS 2
  3. Select your preferred time range and check Temporary cached files and pages.
  4. Click Clear to confirm.
    Firefox clear cache macOS 3

Mozilla Firefox (Android and iOS)

  1. In Firefox, tap the menu (three lines or dots).
    Firefox clear cache iOS 1
  2. select Settings.
    Firefox clear cache iOS 2
  3. Tap Delete browsing data (Android) or Data Management (iOS).
    Firefox clear cache iOS 3
  4. Select Cache (and deselect anything you want to keep). Firefox clear cache iOS 4
  5. Tap Clear Private Data > OK to confirm.

Opera (Windows, Linux, and macOS)

  1. In Opera, press Ctrl + Shift + Delete (Windows/Linux) or Cmd + Shift + Delete (Mac), or open the Easy setup menu and select Go to full browser settings.
    Opera clear cache macOS 1
  2. If navigating via settings, click Privacy & security > Delete browsing data.
    Opera clear cache macOS 2
  3. Check Cached images and files, set the time range, and click Delete data.
    Opera clear cache macOS 3

Opera (Android and iOS)

  1. Tap the three dots menu.
    Opera clear cache iOS 1
  2. Click Settings.
    Opera clear cache iOS 2
  3. Click Clear Browser Data.
    Opera clear cache iOS 3
  4. Select Cached Images and Files, choose a time range, then tap Clear to confirm.
    Opera clear cache iOS 4

How to clear cache on operating systems

Windows 10 and 11

Method 1 — Storage Sense:

  1. Open Settings  > System > Storage.
  2. Click Temporary files (or let Storage Sense run automatically — toggle it on under Storage Sense if you want it handled for you).
  3. Check the categories you want to clear (Temporary files, Thumbnails, Delivery Optimization files are all safe to remove).
  4. Click Remove files.

Method 2 — Disk Cleanup:

  1. Type Disk Cleanup in the Start menu and launch it.
  2. Select your system drive (usually C:).
  3. Check the file types you want to remove — Temporary files, Thumbnails, and Windows Update Cleanup are safe selections.
  4. Click OK > Delete Files.

Flush DNS cache (optional): Open Command Prompt as administrator and run ipconfig /flushdns. This resolves network-related caching issues.

macOS

macOS doesn’t have a single “clear cache” button, but you can target user-level caches safely:

  1. Open Finder, press Cmd + Shift + G, and paste ~/Library/Caches.
    Clear cache macOS
  2. Select the contents of this folder and move them to Trash (don’t delete the folder itself).
  3. Empty the Trash and restart your Mac.

For system-level caches, the path is /Library/Caches, but modifying it requires administrator privileges and carries more risk. For most users, clearing the user-level cache and restarting is enough.

Linux

On most distributions (Debian/Ubuntu-based):

  1. Clear the package manager cache:
    sudo apt-get clean
    sudo apt-get autoclean
  2. Clear user cache:
    rm -rf ~/.cache/*
  3. Optionally reduce systemd journal logs:
    sudo journalctl –vacuum-time=2d

For Fedora/RHEL-based systems, replace apt-get clean with sudo dnf clean all.

Warning: Be careful with rm -rf. Always double-check the path before executing. Deleting the wrong directory can cause application errors.

ChromeOS

ChromeOS handles most system caching through the browser itself, so clearing Chrome’s cache (as in the Chrome section further above) covers most of what you need.

However, for a deeper reset:

  1. Go to Settings > Advanced > Reset settings.
  2. Choose Powerwash to factory-reset the device.

Note: Powerwash wipes all local data, including downloads and accounts. Use it only if you’re experiencing persistent issues and have backed up your files.

Android

Clearing cache on Android is done per app. There’s no global cache-clearing option on modern versions (Android 12+):

  1. Go to Settings > Apps.
  2. Select the app and go to Storage > Clear cache.

For browser cache specifically, use the in-app steps I outlined earlier.

iOS

iOS doesn’t have a global cache-clear option. Instead, it manages it by app:

  1. Open Settings > General.
    Clear app cache iOS 1
  2. Select iPhone Storage.
    Clear app cache iOS 2
  3. Tap an app to see its storage usage. Some apps offer a Clear cache or Offload App option here.
    Clear app cache iOS 3

Offloading removes the app binary but keeps your documents and data. When you reinstall the app, everything is restored. This is a safe way to reclaim space without losing anything.

For a broader refresh, simply restarting your iPhone clears many temporary caches held in memory.

Wrapping up

Clearing cache is one of those small maintenance tasks that solves a surprising range of problems including broken websites, wasted storage, and sluggish performance.

If you’ve followed the relevant section above, your cache should be cleared and your issue resolved. There’s no ongoing setup required — just come back to this guide the next time you need it.

Clear cache: FAQs

Will clearing cache delete my passwords or saved data?

No, as long as you only check “Cached images and files”. Cache is just temporary site files. The same menu often includes checkboxes for cookies, browsing history, and passwords. Leave those unchecked if you want to keep them.

How often should I clear my cache?

There’s no fixed schedule. Clear your cache when you notice problems such as a site looking broken, pages loading slowly, or your device running low on storage. For most people that might only be every few weeks or months. Clearing it unnecessarily just means pages take slightly longer to load the first time you revisit them.

Is clearing cache the same as clearing browsing history?

No. Cache stores temporary files (images, scripts, stylesheets) that help load pages faster. Browsing history is simply a record of the web pages you’ve visited. Although they’re often grouped together in the same settings page, they serve very different purposes.