More information:

My testing wasnt thorough enough:
While Firefox always loads rapidly, Safari has the same delay as cocoa, and
there is a clear pattern.  Two loads in 1-2 seconds, then the 3rd load takes
a really long time.  This pattern repeats with every 3rd load delayed,
whether loading NSImage from the url or refreshing in Safari.

My workaround for now is to hand code this simple HTTP Get operation,
putting the data into NSData and then initializing the NSImage from the
NSData.  Now it loads in 1/2 second or less, every time.

So it appears to be a webkit bug that afflicts both the Cocoa web
functionality as well as Safari.
_______________________________________________

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