None of the NSURLCache sharedURLCache stuff seemed to work, so I simply changed the name of my temp folder (temp1, temp2, temp3,,,) each time the user changes a parameter and regenerates the web site files. Then the WebView has a new path for each hyper-link and ignores what has been cached for the previous image resources.

Keith


On 14/03/2008, at 4:41 AM, Nick Zitzmann wrote:


On Mar 13, 2008, at 8:51 AM, Keith Wilson wrote:

How do I empty WebView's caches?


The first thing I'd try would be [[NSURLCache sharedURLCache] removeAllCachedResponses]...

Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to