Clear Cache In Mac Mail App

Jun 14, 2020  How to Clear Mac Mail Cache? Checking the steps below to clear your Mac mail cache: Free Download and install the iMyMac Mac Cleaner. Choose the 'System Junk' module and hit 'Scan'. Choose the mail junks to remove. Clean and confirm the deleting process. Free Download.

  1. Clear Cache In Mac Mail App Not Connecting To Server
  2. Clear Cache Mac Pro
System cleanup in one click
Make your Mac fast and secure with CleanMyMac X.

Your Mac takes care of routine maintenance behind the scenes eventually, but that doesn’t mean you can’t keep things tidy yourself in the meantime. One easy way to keep your Mac running its best is to occasionally clean the cache.

How to clear cache files step-by-step?

There are three types of caches you can clean on your Mac:

  • User (or App) cache. These cache files created by all the apps that you use on Mac. It includes apps that came with your macOS (like Mail) as well as 3rd-party apps (like Sketch). Every applications creates a lots of cache - it wouldn’t be surprising to clear up gigabytes of space when cleaning app caches.
  • System cache. These cache data created by the built-in macOS system services that run your Mac.
  • Browser cache. All browsers store your browsing history and cache data from websites you visit. You know how you shop for something online and then for weeks you’re seeing it everywhere? That’s because your browser caches hundreds of files that make up the websites you visit. Caches also include cookies and trackers that save information about your browsing history and report the data back to the site. This works out in your favor when you return to a site without having to log in again, but it can also leave you feeling like your computer is spying on you.

Old cache files do nothing but cluttering your system and slowing down your Mac through all the wasted space it is taking up. Here's a guide to cleaning all these caches, at the end of which your Mac will be lighter and leaner.

Firefox

The guide to clean all caches on your Mac

Besides browser and website information, your Mac keeps several caches of its own for different reasons. The good news is you can clean them up manually, or you can clean them with a special app which can clear the browser cache in Safari, Chrome, and Firefox, as well as your system cache, email cache, user cache files, and even your DNS cache files.

Clear your cache in one click

Install the best utilities for clearing your cash — enjoy a clean system and a fresh browsing experience on Mac.

Delete user caches on a Mac

User cache makes up the majority of junk data on macOS. Your applications accumulate user's cache data on a hard disk the longer they are in use. Some apps and utilities can build up cache sizes that reach into gigabytes. This is often just a waste of space, particularly with apps you don’t use every day. By clearing your user apps cache files, you’ll be amazed at how much hard disk space you can reclaim.

Note: Manually clearing cache files on a Mac is something that anyone can do. It takes some time and patience, but if you follow our instructions, you can get the job done all by yourself. Please follow the instructions closely.

Clean up cache files manually

To find and clear your user cache manually, do the following:

  • In your Mac’s user folder, there’s a hidden Library folder, which itself contains a folder of caches left by the applications you’ve installed on your Mac.
  • Strongly recommend that you remove the insides of ~/Library/Caches and /Library/Caches folders, but not the folders themselves.
  • Want to make sure your junk user cache data is gone forever? - Empty out your Trash.

If you are unsure and want a safer option, go ahead and learn on how to use CleanMyMac to handle caches properly. It will find up to 5x more junk cache data to remove from all over your system.

Get rid of cache files with CleanMyMac

  1. Launch CleanMyMac app.
  2. Select System Junk in the left sidebar.
  3. Hit Scan at the bottom of app's window.
  4. Then click Clean.

And you're done! If you’d like to remove only cache files and nothing else, click on Review Details before clicking Clean. Deselect everything but System Cache Files and User Cache Files, then click Clean.

Delete system caches on Mac

System cache files are generated by OS X and, unlike application cache, have nothing to do with the user. The hidden system caches are mainly created by the apps that run on your Mac. The clearing of system cache is not recommended in manual mode, unless you are very careful or trying to fix a problem. System cache files do not generally take up much space, which is another reason why a clean out isn’t as necessary as with user cache.

Get Setapp, all problem-solvers for free

Install Setapp in one click — get your hands on a full pack of Mac applications that will keep your Mac in a good shape, always.

Clean up system cache data manually

You can find and delete system cache in the same way as user cache, by

  1. Going to ~/Library/Caches and hit Enter to removing the insides of the folders with the app name.
  2. System cache folders are named com.apple and should be backed up for safety.
  3. Go into the com.apple folders and delete the files inside of them. Only the files, not the folders!
  4. Right click on the Trash icon and “Empty Trash”.

That’s it, now, just like with your user cache, your system cache is also clear.

Be careful: not all app cache files can be safely deleted. Some app developers keep important information on cache folders. The great idea to backing up a folder before you erase all files inside. If everything works fine, you can delete this backup.

One-button solution to cleanup macOS caches

CleanMyMac is such a great tool because it lets you perform the exact maintenance you want, or run a Smart Cleanup scan with a single click and have the software make recommendations.

Clean up browser caches

We love our browsers but we don’t love it when they start to use up hard disk space with cache files. Whether you’re wanting to free up space, get your browser performing better or trying to remove your history for the sake of privacy, removing your Mac browser cache will help.

Flush DNS caches

Your Mac’s DNS cache is a list of all the DNS queries that were resolved for every site. When you type in 'setapp.com,' the DNS server resolves that to a numerical IP address. But if you notice a site not loading, or your browser acting up or working too slowly, resetting the DNS cache might be the cure.

To flush DNS cache manually

  1. Open Terminal (⇧ Shift++U, and double-click on Terminal)
  2. Type this into Terminal: sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder;say cache flushed
  3. Press Enter to run and fill your admin password to execute the command.

To clean your Mac’s DNS cache in one click

  1. Open CleanMyMac and select Maintenance in the left sidebar
  2. Check the box for Flush DNS Cache
  3. Click the Run button at the bottom of the window

Your browser cache is essentially saved bits of the websites you’ve visited recently. That way, if you go back, your computer can re-use locally cached elements that haven’t changed, which speeds up load times versus reloading everything fresh from the remote server. Your cache will overwrite itself eventually, but you can clear your cache, history, and cookies anytime you want to gain a little bit of extra security and speed up your Mac.

Clear Safari caches step-by-step

To delete Safari's websites' caches and cookies via browser preferences:

  1. Click Safari in the top menu click Preferences.
  2. In the window that appears, click the Advanced tab, and enable Show Develop menu.
  3. In menu bar go to Develop and choose Empty Caches.

Check and delete Safari browser cache with Terminal:

  1. Press Command + Shift + G to open up the Terminal
  2. With these simple commands you can delete Safari's cache file. But first, check its size using the disk usage (du) command:
    du -h /Users/$HOME/Library/Caches/com.apple.Safari/Cache.db
    Note: replace '$HOME' with the name of your home folder
    1. To delete Safari's cache file type:
      rm /Users/$HOME/Library/Caches/com.apple.Safari/Cache.db
      Note: when you use the remove (rm)command files are essentially unrecoverable.
    2. A more prudent approach is to use the move (mv) command:
      mv /Users/$HOME/Library/Caches/com.apple.Safari/Cache.db ~/.Trash/
      This will move the file to your user's ($HOME) trash. From there it is still recoverable until you empty the trash.
      Safari will create a new Cache.db file automatically when you open a new webpage.
    3. Open a new webpage or restart Safari and recheck disk usage:
      du -h /Users/$HOME/Library/Caches/com.apple.Safari/Cache.db

That's all.

Chrome clearing cache tutorial

The simplest way to clear Chrome browser cache manually is:

  1. In the top right corner of Google Chrome browser click the 3-dot icon to choose Settings.
  2. At the bottom of the menu, choose Advanced (or use Cmd+Shift+Delete keyboard shortcut)
  3. Click Clear browsing data and deselect all, but Cached images and files. Choose time range and hit Clear data button.

One more way to delete Chrome browser cache is to clear some folders where these data located.

  1. To find Chrome cache files, open Finder and click to Go to the folder.
  2. To go to the folder where Chrome' primary cache locates type: ~/Library/Caches/Google/Chrome/
  3. To go to the folder with the additional bulk of cached data type:~/Library/Application Support/Google/Chrome/Default/Application Cache/
  4. Select files within these folders and delete them.

How to delete cache in Firefox manually

  1. Click the hamburger icon in the top right corner and choose Preferences.
  2. Choose Privacy & Security on the left sidebar.
  3. Scroll to the section Cookies and Site Data and click to Clear Data... tab
  4. Now, check Cached Web Content and click Clear button to delete Firefox cache.
  5. Exit/quit all browser windows and re-open the browser.

How to clean all browsers cache data at once

  1. Open CleanMyMac and select Privacy in the left sidebar
  2. Click Scan at the bottom of app's window
  3. Then Select Items to advance to the next page. The list is broken down by app: you can check each browser to remove all data, such as cookies, browsing history, downloads history, HTML5 local storage, saved passwords, and even close the tabs from your last session. Or you can uncheck any of that you want to keep
  4. Click the Remove button at the bottom of the window when you’re ready to delete everything that’s checked

Shape up your Mac even more with other apps in Setapp

CleanMyMac isn’t the only app in the Setapp collection that helps you take good care of your Mac. Setapp gives you access to all of its apps at once, so you can try to get your Mac in even better condition with no downside. Here are some examples.

Declutter automatically sorts files you leave on your desktop, so they’re not cluttering up your view but are still easy to find.

Disk Drill can perform data recovery tasks, like restoring deleted files that haven’t been written over yet, or grabbing anything usable off a corrupted flash drive.

Gemini can find duplicate files. For example, photos and videos you downloaded from your iPhone as well as emailed yourself. Or PDFs you downloaded and filed away once, only to download again later when you forgot you already had a copy.

iStat Menus monitors your Mac’s vital signs in real time, so when things slow down you can see which app is hogging all your memory.

Get Backup Pro makes it easy to make bootable backups of your system, making emergencies not so scary anymore.

No one likes a slow Mac, and it’s a good idea to clean it up every so often. Cache files are the most common and probably the least understood offender that Setapp can help you to keep under control.

So you can do everything else in a blink of an eye. With Setapp, you have full access to the best solutions for performing routine Mac maintenance whenever you like.

Optimized Storage in macOS Sierra and later* can save space by storing your content in iCloud and making it available on demand. When storage space is needed, files, photos, movies, email attachments, and other files that you seldom use are stored in iCloud automatically. Each file stays right where you last saved it, and downloads when you open it. Files that you’ve used recently remain on your Mac, along with optimized versions of your photos.

* If you haven't yet upgraded to macOS Sierra or later, learn about other ways to free up storage space.

Find out how much storage is available on your Mac

Choose Apple menu  > About This Mac, then click Storage. Each segment of the bar is an estimate of the storage space used by a category of files. Move your pointer over each segment for more detail.

Click the Manage button to open the Storage Management window, pictured below. This button is available only in macOS Sierra or later.

Manage storage on your Mac

The Storage Management window offers recommendations for optimizing your storage. If some recommendations are already turned on, you will see fewer recommendations.


Store in iCloud

Click the Store in iCloud button, then choose from these options:

  • Desktop and Documents. Store all files from these two locations in iCloud Drive. When storage space is needed, only the files you recently opened are kept on your Mac, so that you can easily work offline. Files stored only in iCloud show a download icon , which you can double-click to download the original file. Learn more about this feature.
  • Photos. Store all original, full-resolution photos and videos in iCloud Photos. When storage space is needed, only space-saving (optimized) versions of photos are kept on your Mac. To download the original photo or video, just open it.
  • Messages. Store all messages and attachments in iCloud. When storage space is needed, only the messages and attachments you recently opened are kept on your Mac. Learn more about Messages in iCloud.

Storing files in iCloud uses the storage space in your iCloud storage plan. If you reach or exceed your iCloud storage limit, you can either buy more iCloud storage or make more iCloud storage available. iCloud storage starts at 50GB for $0.99 (USD) a month, and you can purchase additional storage directly from your Apple device. Learn more about prices in your region.

Optimize Storage

Click the Optimize button, then choose from these options.

  • Automatically remove watched movies and TV shows. When storage space is needed, movies or TV shows that you purchased from the iTunes Store and already watched are removed from your Mac. Click the download icon next to a movie or TV show to download it again.
  • Download only recent attachments. Mail automatically downloads only the attachments that you recently received. You can manually download any attachments at any time by opening the email or attachment, or saving the attachment to your Mac.
  • Don't automatically download attachments. Mail downloads an attachment only when you open the email or attachment, or save the attachment to your Mac.

Optimizing storage for movies, TV shows, and email attachments doesn't require iCloud storage space.

Empty Trash Automatically

Empty Trash Automatically permanently deletes files that have been in the Trash for more than 30 days.

Reduce Clutter

Reduce Clutter helps you to identify large files and files you might no longer need. Click the Review Files button, then choose any of the file categories in the sidebar, such as Applications, Documents, Music Creation, or Trash.

You can delete the files in some categories directly from this window. Other categories show the total storage space used by the files in each app. You can then open the app and decide whether to delete files from within it.

Learn how to redownload apps, music, movies, TV shows, and books.

Where to find the settings for each feature

The button for each recommendation in the Storage Management window affects one or more settings in other apps. You can also control those settings directly within each app.

  • If you're using macOS Catalina, choose Apple menu  > System Preferences, click Apple ID, then select iCloud in the sidebar: Store in iCloud turns on the Optimize Mac Storage setting on the right. Then click Options next to iCloud Drive: Store in iCloud turns on the Desktop & Documents Folders setting. To turn off iCloud Drive entirely, deselect iCloud Drive.
    In macOS Mojave or earlier, choose Apple menu > System Preferences, click iCloud, then click Options next to iCloud Drive. Store in iCloud turns on the Desktop & Documents Folders and Optimize Mac Storage settings.
  • In Photos, choose Photos > Preferences, then click iCloud. Store in iCloud selects iCloud Photos and Optimize Mac Storage.
  • In Messages, choose Messages > Preferences, then click iMessage. Store in iCloud selects Enable Messages in iCloud.
  • If you're using macOS Catalina, open the Apple TV app, choose TV > Preferences from the menu bar, then click Files. Optimize Storage selects “Automatically delete watched movies and TV shows.”
    In macOS Mojave or earlier, open iTunes, choose iTunes > Preferences from the menu bar, then click Advanced. Optimize Storage selects “Automatically delete watched movies and TV shows.”
  • In Mail, choose Mail > Preferences from the menu bar, then click Accounts. In the Account Information section on the right, Optimize Storage sets the Download Attachments menu to either Recent or None.

Empty Trash Automatically: From the Finder, choose Finder > Preferences, then click Advanced. Empty Trash Automatically selects “Remove items from the Trash after 30 days.”

Other ways that macOS helps automatically save space

With macOS Sierra or later, your Mac automatically takes these additional steps to save storage space:

  • Detects duplicate downloads in Safari, keeping only the most recent version of the download
  • Reminds you to delete used app installers
  • Removes old fonts, languages, and dictionaries that aren't being used
  • Clears caches, logs, and other unnecessary data when storage space is needed

Clear Cache In Mac Mail App Not Connecting To Server

How to free up storage space manually

Even without using the Optimized Storage features of Sierra or later, you can take other steps to make more storage space available:

  • Music, movies, and other media can use a lot of storage space. Learn how to delete music, movies, and TV shows from your device.
  • Delete other files that you no longer need by moving them to the Trash, then emptying the Trash. The Downloads folder is good place to look for files that you might no longer need.
  • Move files to an external storage device.
  • Compress files.
  • Delete unneeded email: In the Mail app, choose Mailbox > Erase Junk Mail. If you no longer need the email in your Trash mailbox, choose Mailbox > Erase Deleted Items.

Clear Cache Mac Pro

Learn more

  • The Storage pane of About This Mac is the best way to determine the amount of storage space available on your Mac. Disk Utility and other apps might show storage categories such as Not Mounted, VM, Recovery, Other Volumes, Free, or Purgeable. Don't rely on these categories to understand how to free up storage space or how much storage space is available for your data.
  • When you duplicate a file on an APFS-formatted volume, that file doesn't use additional storage space on the volume. Deleting a duplicate file frees up only the space required by any data you might have added to the duplicate. If you no longer need any copies of the file, you can recover all of the storage space by deleting both the duplicate and the original file.
  • If you're using a pro app and Optimize Mac Storage, learn how to make sure that your projects are always on your Mac and able to access their files.