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:
- As a precaution, backup your Mac Mail folders and any folders mentioned below.
- Close the Mac Mail application.
- Open Finder, select Go and Go to Folder, then enter "~/Library/Containers/com.apple.mail/Data/Library/Caches".
- 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.
- Go back to the "WebKit" folder, then browse to the "com.apple.mail" > "fsCachedData" folder, and remove the files within as well.
- Empty my Trash.
- Open Mac Mail and test.
This should do the trick. I hope this helps some of you.