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?