Re: WebKit Caching
Re: WebKit Caching
- Subject: Re: WebKit Caching
- From: Adam Thorsen <email@hidden>
- Date: Sat, 11 Apr 2009 08:42:15 -0700
Hi Greg,
I mistakenly posted to this list first, when I should have posted to
the sdk list.
The client is not performing a conditional GET request based on
examinations of the outgoing requests (from within the client).
The server is detecting date changes and sending the correct date
(based on the requests as seen in the client).
I can't disable caching from the server because the client is intended
to be a general purpose tool used for development (and is intended to
save users the step of having to set this header field in their server
responses). There is a "Disable Caches" menu item under the "Develop"
menu in Safari that I would basically like to emulate. It appears to
work flawlessly, so I know there must be a way.
On Apr 10, 2009, at 1:29 PM, Greg Guerin wrote:
Adam Thorsen wrote:
Load a page that includes a javascript file into a webview.
Now change the javascript file and reload the contents of the
webview.
Any changes made to the javascript file will not be evident.
Basic questions:
Is the client performing a conditional GET request?
Is the server detecting the date change on the file?
Is the server sending the resource with a different date?
Other questions:
Why can't the server disable caching of the javascript resource?
It seems to me that if you don't want javascript resources cached,
the most straightforward way to achieve that is to specify that the
javascript resources not be cached. Kluging it up on the client
side seems like the wrong solution-space.
If you don't have a way to observe the actual network traffic, I
recommend Interarchy. It has a nice traffic-watching capability.
And I see you've now transferred to webkitsdk-dev, so no reply
necessary.
http://lists.apple.com/archives/Webkitsdk-dev/2009/Apr/msg00009.html
-- GG
_______________________________________________
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
_______________________________________________
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