Clearing Mac Mail image caches in macOS Mojave

While working on an email campaign design/development project, I noticed that when I made changes to images on my remote server and tested those changes, Mac Mail wasn't showing the latest version referenced on the server. Essentially, Mac Mail's image caching wasn't showing the newest images.


Since Mac Mail doesn't have a "clear cache" option and thanks to ana.ban101's post, I was able to find the clues and solution.


I took these steps to remove Mac Mail's image caches:


  1. As a precaution, backup your Mac Mail folders and any folders mentioned below.
  2. Close the Mac Mail application.
  3. Open Finder, select Go and Go to Folder, then enter "~/Library/Containers/com.apple.mail/Data/Library/Caches".
  4. Under the "WebKit" folder, follow the folders through Version 14 (my version), where there are two folders: Records and Blobs. I browsed each of these folders as far as I could within each folder and removed the files within.
  5. Go back to the "WebKit" folder, then browse to the "com.apple.mail" > "fsCachedData" folder, and remove the files within as well.
  6. Empty my Trash.
  7. Open Mac Mail and test.


This should do the trick. I hope this helps some of you.

Posted on Apr 29, 2020 4:21 PM

Reply
2 replies

Apr 30, 2020 4:11 AM in response to Ascension

Ascension wrote:

While working on an email campaign design/development project, I noticed that when I made changes to images on my remote server and tested those changes, Mac Mail wasn't showing the latest version referenced on the server. Essentially, Mac Mail's image caching wasn't showing the newest images.

Since Mac Mail doesn't have a "clear cache" option and thanks to ana.ban101's post1. , I was able to find the clues and solution.

I took these steps to remove Mac Mail's image caches:

As a precaution, backup your Mac Mail folders and any folders mentioned below.
2. Close the Mac Mail application.
3. Open Finder, select Go and Go to Folder, then enter "~/Library/Containers/com.apple.mail/Data/Library/Caches".
4. Under the "WebKit" folder, follow the folders through Version 14 (my version), where there are two folders: Records and Blobs. I browsed each of these folders as far as I could within each folder and removed the files within.
5. Go back to the "WebKit" folder, then browse to the "com.apple.mail" > "fsCachedData" folder, and remove the files within as well.
6. Empty my Trash.
7. Open Mac Mail and test.

This should do the trick. I hope this helps some of you.



ok Ascension

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Clearing Mac Mail image caches in macOS Mojave

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.