[Seaside] 2.5 sushi store shopping cart & back button
Blanchard, Todd
tobl at amazon.com
Tue Nov 15 20:04:34 CET 2005
I was under the impression that correct browser behavior was to issue a new request for all expired pages in the cache when asked to redisplay them. (And it may well be but apparently isn't implemented that way).
Web development can be so "extra fun" sometimes. :-/
________________________________
From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Andrew Catton
Sent: Tuesday, November 15, 2005 10:54 AM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: Re: [Seaside] 2.5 sushi store shopping cart & back button
It's not page expiration, it's actually browser-specific back-button behaviour. Since I generally use either Safari or Firefox when developing, I was surprised recently to see that IE6 behaviour was to actually send a new request on pressing the back button -- so, if Brent had been using IE6 he would have seen the correct value upon pressing 'Back'. Since, I assume, he was using FF or Safari, no new request went out and he just saw the cached version of the page..
Andrew
On 11/15/05, Blanchard, Todd <tobl at amazon.com> wrote:
This sort of implies that the page expiration date should probably have been set to some very low number 1 second if the page is going to contain volatile data like that - yes?
-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org [mailto: seaside-bounces at lists.squeakfoundation.org <mailto:seaside-bounces at lists.squeakfoundation.org> ] On Behalf Of Avi Bryant
Sent: Monday, November 14, 2005 7:00 PM
To: brentvukmer at yahoo.com; The Squeak Enterprise Aubergines Server - general discussion.
Subject: Re: [Seaside] 2.5 sushi store shopping cart & back button
On Nov 14, 2005, at 5:08 PM, Brent Vukmer wrote:
> Thanks for your informative explanation, Avi.
>
> Given what you said, shouldn't the Anago count have stayed the same
> when I hit the back button?
You would have to reload - your browser was presumably showing you the cached version.
Avi
_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://liststest.squeakfoundation.org/pipermail/seaside/attachments/20051115/6a0e1610/attachment.htm
More information about the Seaside
mailing list