You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Dennis Dam (JIRA)" <je...@portals.apache.org> on 2009/02/18 15:09:02 UTC
[jira] Commented: (JS2-930) Expires header set to 0 does not cause
round-trip in IE
[ https://issues.apache.org/jira/browse/JS2-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674624#action_12674624 ]
Dennis Dam commented on JS2-930:
--------------------------------
I wasn't able to reproduce this bug in IE 5.5 / 6 / 7 using Jetspeed 2.2-SNAPSHOT
What I did:
Installed jetspeed trunk in a local tomcat.
Go to http://localhost:8080/jetspeed/portal
Go to a random page
Press back button
In Fiddler I see the round-trip happening for IE 5.5 / 6 / 7. Btw, also tested it in Chrome: works fine as well.
Also tested it with the Jetspeed desktop (Ajaxized version of the portal, http://localhost:8080/desktop), navigating back and forth using the back/forward button does not show outdated content. Using Fiddler, I see the caching headers mentioned above. Remco, could you provide more details on this issue?
> Expires header set to 0 does not cause round-trip in IE
> -------------------------------------------------------
>
> Key: JS2-930
> URL: https://issues.apache.org/jira/browse/JS2-930
> Project: Jetspeed 2
> Issue Type: Bug
> Components: Components Core
> Reporter: Dennis Dam
> Assignee: Dennis Dam
> Priority: Minor
> Fix For: 2.2
>
>
> As reported by Remco Nabuurs. Jetspeed sets the following HTTP response headers by default:
> Cache-Control: no-store, no-cache, private
> Pragma: no-cache
> Expires: 0
> To force a round trip in IE when pressing the BACK button, the expires header needs to be set to -1. Firefox and Safari assign a higher priority to the expires header and perform a round trip. When an application makes use of Ajax calls in-between requests, and an application architecture is adhered (the Ajax calls change server state), this leads to pages with out-of-sync data.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org