Gus Mueller
2010-01-23 01:49:24 UTC
As I'm looking at some of this code and thinking about caching and such, which is better? Downloading messages right away (takes longer for message list to appear) or grab them when they are needed?
I can see arguments either way:
If there's a thread with 100 messages in it that you don't care about, why would you want the bandwidth taken up when you're just going to delete them?
What if maybe, just maybe you want to connect and pull everything down, then hop on that mythical plane and check your email?
Or maybe there's a 3rd option:
Download all the headers and such first, and once that's done start downloading the bodies? Is this what the iPhone does?
-gus
--
August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/
I can see arguments either way:
If there's a thread with 100 messages in it that you don't care about, why would you want the bandwidth taken up when you're just going to delete them?
What if maybe, just maybe you want to connect and pull everything down, then hop on that mythical plane and check your email?
Or maybe there's a 3rd option:
Download all the headers and such first, and once that's done start downloading the bodies? Is this what the iPhone does?
-gus
--
August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/