Clearing the cache in Safari helps improve performance, free up space, and resolve browsing issues caused by outdated or corrupted cache files. Here’s a step-by-step guide on how to clear your Safari browser cache on a Mac.
Method 1: Clear Cache Through Safari’s Developer Menu
The Developer menu in Safari allows you to clear the browser’s cache without affecting other browsing data like history, cookies, or saved passwords.
Step 1: Enable the Developer Menu
- Open Safari on your Mac.
- In the top menu bar, click on Safari and select Preferences (or press Cmd + ,).
- Go to the Advanced tab.
- At the bottom of the window, check the box for Show Develop menu in menu bar. You’ll now see a Develop option in the top menu bar.
Step 2: Clear the Cache
- In the top menu bar, click on Develop.
- From the dropdown, select Empty Caches.
This will clear the cache without deleting cookies, history, or other browsing data.
Method 2: Clear Cache, History, and Other Data Through Safari Preferences
If you want to clear not only the cache but also browsing history, cookies, and other website data, follow these steps:
Step 1: Open Safari Preferences
- Open Safari and click on Safari in the top menu bar.
- Select Clear History from the dropdown menu.
Step 2: Clear History and Website Data
- In the Clear History window, choose a time range for clearing data:
- Last hour
- Today
- Today and yesterday
- All history
- Select the desired option and click Clear History. This will clear your browsing history, cache, and cookies for the selected time period.
Method 3: Clear Cache Using the Keyboard Shortcut
You can quickly clear your Safari cache using a keyboard shortcut, but this requires the Developer menu to be enabled (see Method 1, Step 1).
- Once the Develop menu is enabled, press Option + Command + E to immediately empty the cache.
Method 4: Manually Delete Safari Cache Files from Mac Storage
If you want to manually clear Safari’s cache files from your Mac storage, follow these steps:
- Quit Safari if it’s open.
- Open Finder and in the menu bar, click Go > Go to Folder.
- In the search bar, type:~/Library/Caches/com.apple.Safari
- Press Enter. This will take you to Safari’s cache folder.
- Select all the files inside the folder and move them to the Trash.
- Empty the Trash to permanently delete the cache files.
Conclusion
Clearing your Safari browser cache on a Mac can improve performance, free up disk space, and help resolve issues related to loading websites. You can clear the cache through the Developer menu, Safari preferences, or manually by accessing the cache folder. Depending on your needs, choose the method that best suits you!