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:
- Open Finder, press Shift Command G to open Go to Folder.
- Enter
~/Library/Caches
and click Go. - 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:
- Open Safari, go to the Safari menu (top-left), and select Preferences.
- Go to the Advanced tab, check "Show Develop menu in menu bar."
- Close Preferences.
- Go to the Develop menu (now visible) and select Empty Caches. Alternatively, use the shortcut Command Option E.
Chrome:
- Click the three-dot menu (top-right) in Chrome.
- Select More tools > Clear browsing data.
- Choose your Time range (or "All time").
- Select Cookies and other site data and Cached images and files. Click Clear data.
Firefox:
- In Firefox, go to Menu > Preferences > Privacy & Security > Clear Data.
- Ensure only Cached Web Content is selected; deselect Cookies and Site Data. Click Clear.
Opera:
- Open Opera, click Opera (top-left), and select Clear Browsing Data.
- Choose your Time Range, select Cached images and files (optionally, Browsing History and Cookies and other site data). Click Clear data.
Clearing App Cache on Mac
Individual apps also create cache files. To clear them:
- In Finder, select Go > Go to Folder.
- Enter
~/Library/Caches
and click Go. - Identify and delete files related to the specific app. Empty the Trash.
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:
- Open Terminal (Applications > Utilities > Terminal).
- Enter
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder;say cache flushed
and press Enter (enter admin password if prompted).
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.
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!

Apple has released a second Release Candidate (RC) build of macOS Sequoia 15.4 for its beta testing program. This follows the initial release candidate builds of Sequoia 15.4, iOS 18.4, and iPadOS 18.4, released just days prior. Release Candidates a

VirtualBuddy: Easily virtualize macOS and Linux on Apple Silicon Mac VirtualBuddy provides a simple and fast way to virtualize macOS (and Linux) on any Apple Silicon Mac, providing developers, enthusiasts, and curious users with a way to easily run multiple instances of macOS. VirtualBuddy is fast, performs well, and it is free and open source, so you can easily explore the virtual machine world without any commitment, just prepare enough disk storage and bandwidth to set up a macOS or Linux virtual machine. Whether it is testing different versions

Buying a used Mac on a budget? This guide ensures you avoid a lemon. We'll cover essential checks before you buy, including diagnostics you can perform on the spot. Remember to bring a bootable macOS USB drive and headphones. Step 1: Physical Insp

How long does it take to update the MacOS system software? Why does it take so long to update? Many Mac users will have this question when they see the software update of the new MacOS system. Both of these questions are very reasonable, and it is important to remember that the answers may vary. However, with modern MacOS, you can make a fairly accurate estimate of the time it takes to install updates to your MacOS system. Let's dive into this topic so you can better understand and prepare to install MacOS updates on your Mac. How long does it take for MacOS updates to be downloaded, installed and completed? MacOS updates can take between 15-20 minutes to several hours to complete, especially if you are considering downloading updates and installing updates to completion

Understanding MacBook Battery Life: Maximizing Your Mac's Power Concerned about your MacBook's battery performance, or planning a purchase? This guide clarifies MacBook battery lifespan and offers tips for extending it. Most Mac batteries endure appr

Although the Safari browser under the Mac system is excellent, it is not perfect. Safari users occasionally encounter situations where the page refreshes and displays an error message "This page has reloaded because of a problem". You may also see variant information like "repeated problems". Since the error message is quite general, you may be wondering the root cause of the error in Safari and how to fix this on your Mac. Causes causing Safari for Mac to have a "This web page reloaded because a problem occurred" error Usually, if there is a memory problem, a website crash, or an incompatible with Safari, a software error, or other similar issues, you will see this error message in Safari on your Mac

Nostalgic Mac users may remember an interesting application in the classic Mac OS system: it will place a pair of moving eyes in the Mac menu bar and move with your cursor. While classic Mac OS is long gone, you can still experience this fun on a modern Mac, just use an app called "Googly Eyes". Google Eyes resides in your Mac menu bar, and its pupils will follow your cursor like an older version of the app. When clicking on the mouse/trackpad, the little eyes will blink. Will this revolutionize your computing experience? Probably not. But is it interesting? Absolutely fun! Sometimes, just being fun is enough, right? So, enjoy it, in your Ma

Apple has released macOS Sonoma 14.7.5 and macOS Ventura 13.7.5 security updates for Mac users running Sonoma and Ventura operating systems. These updates focus on security patches and do not include other new features available in the latest macOS Sequoia 15.4 update (sequoia 15.4 update is released simultaneously). Additionally, you'll find software updates for new and older iPhones and iPads, as well as updates for Apple TV, Apple Watch, and Apple Vision Pro


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

WebStorm Mac version
Useful JavaScript development tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool
