How to Clear Cache on Mac or MacBook Air/Pro
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

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

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

With the support of Apple devices' interconnected ecosystem, managing and synchronizing your Apple devices has become a breeze. Unlock Mac with Apple Watch? Simple! (If you haven't set this unlocking method yet, you should really try it, it's very time-saving). Can you pay with Apple Watch without using iPhone? Apple can handle it easily! Today we will focus on how to download the Spotify playlist to an Apple Watch and play without an iPhone. Spoiler: This is possible. How to use Spotify on Apple Watch: A quick overview Let's dive into the key issues and their solutions directly. If this form helps you, that would be great! If you

When you see the message "Your screen is being monitored", the first thing you think of is someone hacking into your computer. But that's not always the case. Let's try to find out if there are any issues that need you to worry about. Protect your Mac With Setapp, you don't need to worry about choosing a tool to protect your computer. You can quickly form your own suite of privacy and security software on Setapp. Free Trial Security Test What does "Your screen is being monitored" mean? There are many reasons why there is a Mac lock screen message that appears with “Your screen is being monitored”. You are sharing the screen with others You are recording the screen You are using AirPlay You are using some apps that try to access your screen Your computer is infected with evil

Mac mail synchronization failed? Quick solution! Many Mac users rely on the included Mail app because it is simple and convenient. But even reliable software can have problems. One of the most common problems is that Mail cannot be synced, resulting in recent emails not being displayed. This article will guide you through email synchronization issues and provide some practical tips to prevent such issues. How to refresh the Mail app on your Mac Operation steps Click the envelope icon Open the Mail app > View > Show Tab Bar > Click the Envelope icon to refresh. Use shortcut keys or menu options Press Shift Command N. Or open the Mail app

Mac Dockbar Optimization Guide: Show only running applications The dock bar of your Mac is the core of the system, from which you can launch Finder, Trash, recently used apps, active apps, and bookmark apps, and even add folders such as Document and Downloads. By default, the Mac dock bar will display more than a dozen Apple-owned applications. Most users will add more applications, but rarely delete any applications, resulting in the dock bar being cluttered and difficult to use effectively. This article will introduce several ways to help you organize and clean up your Mac dock bar in just a few minutes. Method 1: Manually organize the dock bar You can manually remove unused applications and keep only commonly used applications. Remove the application: Right-click on the application

macOS WindowServer: Understanding High CPU Usage and Solutions Have you noticed WindowServer consuming significant CPU resources on your Mac? This process is crucial for your Mac's graphical interface, rendering everything you see on screen. High C
