No, there's no way to ask CFNetwork to use WebKit's cache.
WebKit does use the CFNetwork cache, though. Therefore, if, within the
Safari process, you use CFNetwork to request a resource that CFNetwork
already cached on behalf of Safari, you'll get the cached resource,
and vice versa.
Geoff
On Jan 24, 2008, at 2:44 PM, Jeremy Moskovich wrote:
Hi,
I'm working on an updated version of Google Gears for Safari.
I was wondering if there was a way to have CFNetwork calls use
Safari's Cache (both in the sense of updating the cache when we make
a new network request, and using the current contents), or is the
only option to use NSURLCache and friends in Cocoa?
Also, are there APIs we can use to do this in Safari on Windows?
Thanks and best regards,
Jeremy
_______________________________________________
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/ggaren
%40apple.com
This email sent to email@hidden
_______________________________________________
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