• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How do I empty WebView;s cache?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How do I empty WebView;s cache?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: [Q] How can I repair file name with wrong encoding?
  • Next by Date: Re: Xcode Editor's Regex now uses PCRE instead of ICU?
  • Previous by thread: Re: Autorelease question
  • Next by thread: Re: How do I empty WebView;s cache?
  • Index(es):
    • Date
    • Thread