Behold the wonder of IMAP caching

2 minute read

I’m a fan of Low End Mac‘s Mac catalog. It’s a quick and easy way to go look up vital stats about old computers, such as when they were released, the original specifications, and the original price. I’ve settled many quibble’s using its information.

However, their other columns present sometimes out of date, and sometimes even wrong information. For example, Charles Moore often writes about the failure of IMAP. This goes back years, but let’s check out the latest installment.

Why am I not an IMAP fan? Guess I’ve spent too many years with slow Internet access and prefer to have my email archives on my hard drive and accessible without being online. Not many wireless hot spots in this neck of the (literal) woods, and with IMAP your messages remain on the central mail server, whereas POP downloads all messages in your inbox onto your computer where you can access them for reference whether you’re online or not.

I appreciate that IMAP can be a good choice for people who need to access email from multiple computers, but for my own accounts where that is more convenient, I use Gmail with POP access configured to leave the messages on the Gmail server, which seems to me the best of both worlds.

The entire argument centers on the idea that IMAP doesn’t allow for email reading and searching when you’re not online. That would be a great argument against its use in some cases (as it is for webmail) if it were true. It’s not.

The fact is that IMAP email clients for as long as I can remember have cached the contents of your IMAP account. Mail.app does it. Entourage does it. Thunderbird does it. There may have been cases in the long past when this was turned off by default, but I can’t remember the last time I had to check the “Cache my mail” option.

If you’ve ever watched Mail.app’s Activity Viewer when working with an IMAP account, you’ll notice it making a series of connections as it traverses your folder structure, downloading headers, and the message bodies of all your email. It writes them to your disk and from that point on, if you try to look at that email and you’re offline, it simply reads it from the disk.

It seems totally obvious if you take a moment to think about it. When you do a Spotlight search, it goes through all your email trying to find that phrase. Does it really seem practical or even possible (when accounting for speed) that it would be prodding a server for all that information every time you did a search? Of course not.

The fact is that there is no good reason to use POP over IMAP anymore. None. Well, that is unless you have a hankering to use Claris Emailer again.

Comments