Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange Web Kit Resource Load Caching?



On Nov 24, 2005, at 1:24 AM, Manfred Schwind wrote:

Is this a bug in Web Kit or is this intended behaviour? Or is there some cache that I could clear? Or can I even prevent the rejected requests NOT to be cached somehow?

I think this is a bug in WebKit. I suspect that it's the WebCore cache that's causing the trouble. It would be great if you could file a bug report, especially if you could provide a test application to use to reproduce it.


For now I allow all image loading, but it's a real performance issue in my application. I load a lot of Web Pages using Web Kit in "hidden" WebViews and just analyze and modify their DOM (for that I don't need any image loading), and then just a few (or one) page of them is displayed in a visible WebView to the user. If I prevent all image loading in the hidden WebViews, the performance is much better, but then also the visible WebView does not display the images.

You may have better luck if you use -[WebPreferences setLoadsImagesAutomatically:NO] on your hidden web views. You can set per-WebView preferences, and I think that works fine.


    -- Darin

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.