The Exceptional Performance group at Yahoo! just released a detailed performance analysis of web applications on the iPhone. Yahoo! analyzed the full capabilities of the iPhone’s Safari browser including browser cache and transfer speeds.
Optimal component size
Safari for iPhone will only cache files 25 KB or smaller served using the
Expires explicit expiration time or
max-age directive HTTP headers. Safari decodes the file before saving it cache, meaning your total unzipped file size must squeeze under the 25 KB ceiling to hit the cache. Components already in cache are only replaced by new cacheable components using the least recently used algorithm.
Safari for iPhone is able to cache a maximum of 19 external components, placing a maximum cache limit at around 475 KB.
Yahoo! found typical download iPhone download speeds vary from 82 kbps to 150 kbps when connected to a GSM cellular data network. Wi-Fi connections over an 802.11b/g networks obviously speed up the experience, but pages should assume cellular data load times when designing for a compelling user experience.