Caching content for iPhone webapp

January 29th, 2010

This post is still in progress; I haven’t gotten caching to work well yet. Loading...Every time I load my iPhone webapp I have to wait for it to download ~100 images and buttons. I’ll be closing and opening this app lots, so I’m trying to turn local caching on for all these images.

This article has gotten me started.

First of all I generated a cache.manifest file. Ideally, I want to cache anything within specific folders (images folders) but I couldn’t see anything that lets you use wildcards in the manifest. I’ll come back to trying this once I get a basic cache working, so for the time being I used a string of UNIX commands to generated a list of the files in my image directories, and stick it in my base manifest file. Read the rest of this entry »