FREN

#FF00AA


12 apr. 2009

“Performance Research, Part 5: iPhone Cacheability”

In our experiments, we varied the size of different types of components (images, stylesheets, and scripts) to determine the maximum cache size for an individual component. We found that if the size of component is greater than 25 KB, the iPhone’s browser does not cache the component. Thus, web pages designed specifically for the iPhone should reduce the size of each component to 25 Kbytes or less for optimal caching behavior.

Translation: Here I go rewriting my iPhone app without JQuery, because it appears that WebKit would be waiting to load the 50KB library again before it displays each new page.

Good thing I was only using the most elementary functions, because I don’t want to overload the iPhone with fancy effects.

 

P.S. Why on earth isn’t there an iPhone-optimized, less-than-25KB (unzipped) version of JQuery with only the essential functionality?

Want to know when I post new content to my blog? It's a simple as registering for free to an RSS aggregator (Feedly, NewsBlur, Inoreader, …) and adding www.ff00aa.com to your feeds (or www.garoo.net if you want to subscribe to all my topics). We don't need newsletters, and we don't need Twitter; RSS still exists.

Legal information: This blog is hosted par OVH, 2 rue Kellermann, 59100 Roubaix, France, www.ovhcloud.com.

Personal data about this blog's readers are not used nor transmitted to third-parties. Comment authors can request their deletion by e-mail.

All contents © the author or quoted under fair use.