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!

Hot AI Tools

Undress AI Tool
Undress images for free

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

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

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

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

You’ve had your Mac for a few years, and you’re starting to feel the effects of your device aging—the battery doesn’t hold up as well as it used to. To avoid getting stuck with a dead Mac, you have no choice but to take your charger e

The Focus Modes functionality comes with several pre-set options such as Work, Driving, Sleep, and users are also free to create custom ones for any scenario imaginable. Should you find yourself not needing a multitude of Focus modes—whether because

If you trust Siri to accurately transcribe your speech into text and send it as a message, you can activate a setting that lets Siri send messages automatically from your iPhone without asking for confirmation first.With the confirmation feature enab

Some users of Mac computers running MacOS Sierra and MacOS High Sierra have reported issues when trying to log in to an Apple ID or iCloud via System Preferences, as well as problems accessing iCloud.com using Safari. In addition, Safari fails to loa

Have you ever received a long audio message on your iPhone and while listening, the screen turns off, interrupting the playback and forcing you to start over? It's pretty frustrating, isn't it?Next time you receive a lengthy voice message on your iPh

iOS 16 is now available for iPhone users, offering a solid update packed with practical features you're sure to enjoy.The most noticeable and exciting addition is the ability to personalize your lock screen. However, there are also plenty of smaller

In this blog post, we’ve gathered the 22 most significant breaches that happened back in 2017. All of the reports were conducted by Chris Vickery — a data breach hunter, who had partnered with MacKeeper to provide repor

If you've owned multiple Apple devices over the years, you might find yourself in a situation where some of those older Macs, iPhones, iPads, or other Apple hardware have been sold, given away, or traded. No matter how they left your possession, it's
