Submitted by : betabug at: 2007-03-06T06:54:33+00:00 (14 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

When "conditional HTTP GET" is enabled on a site and users edit a page with the default config of FireFox?, then they do not see their changes when the page reloads after the edit.

To reproduce: Set up a zwiki with HowToEnableConditionalHTTPGET304, edit any page.

Expected: Changes should be seen on the page after the edit right away.

Instead: The browser didn't reload the page (didn't even check for changes with "If-modified-since" header). Once the user manually reloads from the browser the edits are visible.

Workaround: If you do a lot of wiki (or generally web editing) you can go to 'about:config' in your FireFox? and change the value of 'browser.cache.check_doc_frequency' to 1 (which means "check every time")

Mozilla might have the same problem. Other browsers do not show this behaviour (Safari, iCab, IE).

Ideas for solutions: I'll try adding a dummy parameter to the redirect that happens after the edit. Maybe it convinces FF that the page is dynamic and should be reloaded. Will do some more reading up too.

another idea: POST to /PageName?, not /PageName?/edit --betabug, Wed, 07 Mar 2007 20:49:15 +0000 reply the browser could deduce from it that the page shouldn't be taken from cache. It would also save us the redirect, which means one request less - always a good thing on busy sites. Definitely something to try, as agreed wih sm on #zwiki!

serious --simon, Sat, 24 Mar 2007 15:53:50 +0000 reply

Severity: normal => serious

Enough reloading.. I've disabled conditional http get handling on the zwiki/zope2/zope3 wikis until we find a way to work with firefox out of the box.

... --simon, Sat, 28 Apr 2007 03:43:51 +0000 reply

Severity: serious => wishlist

note --simon, Tue, 31 Mar 2009 11:08:49 -0700 reply

I think the solution for this was suggested on GeneralDiscussion within the last month.