Re: Backtracking and Safari
Re: Backtracking and Safari
- Subject: Re: Backtracking and Safari
- From: Joe Moreno <email@hidden>
- Date: Fri, 06 Jun 2008 00:24:54 -0700
Chuck,
When I start wondering if Safari is caching a page or if it's my own
bug I add something useless to the end of the URL (i.e. either server
side or client side via JavaScript). Usually, I'll just tag on a key/
value pair such as ?t=1212726377311 which is simply the time. To
Safari, and any proxy servers, this appears as a new request.
- Joe
On Jun 3, 2008, at 17:24:12, Chuck Hill wrote:
Hi,
Safari, at least as of version 3.1.1 (5525.20) does not seem to
respect the headers that control local page caching. The Safari FAQ
claims to show how to do this:
http://developer.apple.com/internet/safari/faq.html#anchor5
Returning
last-modified = ("Wed, 04-Jun-2008 00:10:53 GMT");
cache-control = ("no-store, no-cache, must-revalidate, max-age=0,
post-check=0, pre-check=0");
expires = ("Mon, 26 Jul 1997 05:00:00 GMT");
date = ("Wed, 04-Jun-2008 00:10:53 GMT");
pragma = ("no-cache");
still results in Safari using the local cache instead of making a
trip back to the server. The Web Inspector in Safari show that it
is getting these headers, but it seems to ignore them. I have
reported this to Apple.
Obviously, this has rather serious implications for those of use
deploying dynamic web applications. The back button is hard enough
to deal with when the browser works correctly!
Any suggestions for work arounds gratefully attempted.
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden