How do I empty WebView;s cache?
How do I empty WebView;s cache?
- Subject: How do I empty WebView;s cache?
- From: Keith Wilson <email@hidden>
- Date: Fri, 14 Mar 2008 01:51:58 +1100
How do I empty WebView's caches?
I have an app that generates web pages and I use WebView so the user
can preview the results. Each web page links to some JPEGS. The user
can change settings, preview individual web pages, go back and
forward, etc and make sure that it works OK.
Some of the JPEG's get changed depending on what settings the user
chooses but then the old JPEG still gets displayed appears in the
QebView that is used for previewing. A new JPEG has the same filename
as the old JPEG. The new JPEGs have actually been correctly what's on
disk is OK. If I view them in Safari they are fine.
It appears that WebView is caching the old JPEG - have tried setting
backForwardList to zero - read the manual - found nought.
Keith
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden