It’s normal for macOS to use some of your hard drive space for everyday operations. Your web browser constantly downloads new data, which it retains to speed up future browsing sessions. Applications like video editors and iTunes keep a media cache of exported files and album artwork.
It’s amazing just how much free space you can reclaim by deleting junk files, provided you know where to look. There’s also good reason to approach this reclamation of drive space with caution.
Today we’ll look at why and how to clear caches on macOS, as well as a few apps that make it super easy.
What Are Caches and Why Delete Them?
Caches are basically temporary files created by your operating system and the applications you use. They could be temporary internet files like images and HTML documents, created by a web browser like Safari or Chrome.
If you edit a lot of photos and videos, you’ll find that your editor of choice retains temporary data that hangs around on your drive. Video editors that render clips and effects during editing have to store this data somewhere, but they don’t always remove these files afterwards.
Many applications keep caches that are just too small to worry about. System components like Spotlight, Contacts, and Maps create relatively lightweight caches that won’t net you a lot of free space should you delete them.
Which brings us to an important point: you don’t need to delete caches. Unless you’re looking for a quick and easy way to regain some free space and you’re constantly juggling applications and files so that your Mac functions normally, it’s best to leave them be.
Many applications run their own cleanup routines to stop caches ballooning to unmanageable sizes. There are a few other valid reasons you might delete caches beyond a desire for more space:
- Fix problems with webpages loading outdated assets.
- Remove personal data stored by websites and applications.
- Force an app to discard old cached information.
Important: Create a Backup First!
You should already be regularly backing up your Mac, whether that’s with the Apple’s own Time Machine, using a third party backup tool, or even an online backup. When you start poking around in the Library folder, you run the risk of breaking something.
While most applications generally won’t store critical information in the cache, it’s certainly possible that deleting something could lead to unwanted data loss and unforeseen behavior. With a recent backup, you can simply restore the caches folder should something go wrong.
How to Clear the Safari Cache on Mac
Clearing your web cache is easy, though if you’re not using Safari as your primary web browser, this won’t be of use to you:
- Launch Safari and click on Safari > Preferences at the top of the screen.
- Click on Advanced then enable Show Develop menu in menu bar at the bottom.
- Close the Preferences window then select Develop at the top of the screen.
- From the Develop menu choose Empty Caches.
Note: This is a bit more drastic than simply clearing your history, accessible under Safari > Clear History. Clearing caches in Develop mode will not remove any personal information other than that stored in temporary files (your history, bookmarks, Downloads folder, and so on are unaffected).
How to Clear Mac System Caches
To clear system caches specific to your user account:
- Launch Finder then click Go > Go to Folder in the menu bar at the top of the screen.
- In the box that appears type
~/Library/Cachesand hit OK.
- Choose the files and folders you want to delete, and drag them into the Trash.
- Regain free space by right-clicking on the Trash in your dock and choosing Empty Trash.
If you want to delete caches associated with another user account, you’ll need to head to that specific user’s cache directory. You can do this by changing the folder location in the second step to
username with the user account in question.
To clear system caches that are shared between user accounts, head to
Apps Can Do All of This for You
You could spend your time manually deleting caches, or you could just get an app to do it for you. The beauty of these apps is that they generally do a lot more, and they’re especially good at freeing up space you didn’t know you had.
OnyX is one such free tool that provides simple one-click deletion of caches. Download the version specific to your operating system, and launch the app. Let it analyze your startup disk, then head to the Cleaning tab. Flick through the tabs and indicate what should be deleted, then click Delete Caches.
CCleaner is another tool that will kill your caches, though it doesn’t offer as much control as OnyX. Download and install the app, then click Analyze to let CCleaner find as much potential free space as possible (caches included). You can then hit Run Cleaner to tidy up the selected items.
Finally, CleanMyMac 3 is a $40/year premium one-click cleaner. The only reason I routinely use it is because it’s included in the app subscription service SetApp. It’ll blitz your caches, and find other redundant macOS data, outdated backups, and huge files you’d forgotten about in a few clicks.
I’ve never had any trouble clearing caches using any of these apps, but it’s still worth running regular backups for peace of mind.
Reminder: You Don’t Normally Need to Do This
Unless you’re incredibly tight on space or looking to target a specific application by deleting its cache, you should probably leave your Mac’s caches well alone. There are plenty of ways to create free space on macOS without ever touching your caches.
Image Credit: Wavebreakmedia/Depositphotos