Home >System Tutorial >MAC >How to Clear Cache on Mac or MacBook Air/Pro

How to Clear Cache on Mac or MacBook Air/Pro

Joseph Gordon-Levitt
Joseph Gordon-LevittOriginal
2025-02-25 04:54:09226browse

This guide explains how to clear cache on your Mac, covering system cache, browser cache (Safari, Chrome, Firefox, Opera), app cache, and using Terminal. Learn how to free up disk space and improve your Mac's performance.

Clearing System Cache on Mac

Quickly access and clean your Mac's system cache by following these steps:

  1. Open Finder, press Shift Command G to open Go to Folder.
  2. Enter ~/Library/Caches and click Go.
  3. Drag unwanted cache files to the Trash.

Clearing Browser Cache on MacBook

Excessive browser cache consumes disk space and can impact privacy. Here's how to clear it for various browsers:

Safari:

  1. Open Safari, go to the Safari menu (top-left), and select Preferences.
  2. Go to the Advanced tab, check "Show Develop menu in menu bar."
  3. Close Preferences.
  4. Go to the Develop menu (now visible) and select Empty Caches. Alternatively, use the shortcut Command Option E.

How to Clear Cache on Mac or MacBook Air/Pro How to Clear Cache on Mac or MacBook Air/Pro How to Clear Cache on Mac or MacBook Air/Pro

Chrome:

  1. Click the three-dot menu (top-right) in Chrome.
  2. Select More tools > Clear browsing data.
  3. Choose your Time range (or "All time").
  4. Select Cookies and other site data and Cached images and files. Click Clear data.

How to Clear Cache on Mac or MacBook Air/Pro How to Clear Cache on Mac or MacBook Air/Pro

Firefox:

  1. In Firefox, go to Menu > Preferences > Privacy & Security > Clear Data.
  2. Ensure only Cached Web Content is selected; deselect Cookies and Site Data. Click Clear.

How to Clear Cache on Mac or MacBook Air/Pro How to Clear Cache on Mac or MacBook Air/Pro

Opera:

  1. Open Opera, click Opera (top-left), and select Clear Browsing Data.
  2. Choose your Time Range, select Cached images and files (optionally, Browsing History and Cookies and other site data). Click Clear data.

How to Clear Cache on Mac or MacBook Air/Pro How to Clear Cache on Mac or MacBook Air/Pro

Clearing App Cache on Mac

Individual apps also create cache files. To clear them:

  1. In Finder, select Go > Go to Folder.
  2. Enter ~/Library/Caches and click Go.
  3. Identify and delete files related to the specific app. Empty the Trash.

How to Clear Cache on Mac or MacBook Air/Pro How to Clear Cache on Mac or MacBook Air/Pro How to Clear Cache on Mac or MacBook Air/Pro

Clearing Cache Using Shortcuts and Terminal

For faster cache clearing:

  • Safari: Command Option E
  • Chrome: Command Shift Delete

For a more advanced method, use Terminal:

  1. Open Terminal (Applications > Utilities > Terminal).
  2. Enter sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder;say cache flushed and press Enter (enter admin password if prompted).

How to Clear Cache on Mac or MacBook Air/Pro How to Clear Cache on Mac or MacBook Air/Pro How to Clear Cache on Mac or MacBook Air/Pro

What are Caches?

Caches temporarily store data for faster access, improving website loading speeds. There are system, browser, and application caches. Clearing them can improve performance but may temporarily slow down initial loading times.

How to Clear Cache on Mac or MacBook Air/Pro How to Clear Cache on Mac or MacBook Air/Pro How to Clear Cache on Mac or MacBook Air/Pro How to Clear Cache on Mac or MacBook Air/Pro

Regularly clearing cache helps maintain optimal Mac performance. While manual methods are effective, tools like MacKeeper's Safe Cleanup can simplify the process.

The above is the detailed content of How to Clear Cache on Mac or MacBook Air/Pro. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn