Have you thought about creating a manifest file for iWebKit's static elements (scripts and images)?
I've done this for one of the sites I've been developing and it seems to work OK. The technique is described in the "Safari Web Content Guide for iPhone OS" document on Apple's website.




