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 10:45:03 UTC

[jira] Created: (JS2-930) Expires header set to 0 does not cause round-trip in IE

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


[jira] Updated: (JS2-930) Expires header set to 0 does not cause round-trip in IE

Posted by "Dennis Dam (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Dam updated JS2-930:
---------------------------

    Fix Version/s:     (was: 2.2.0)
                   2.2.1

they're using a workaround in html now by setting the meta-equiv  "Cache-Control" to "max-age=-1".

> 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.1
>
>
> 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


[jira] Commented: (JS2-930) Expires header set to 0 does not cause round-trip in IE

Posted by "Dennis Dam (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696517#action_12696517 ] 

Dennis Dam commented on JS2-930:
--------------------------------

sent a reminder to Remco, waiting for response.

> 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.0
>
>
> 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


[jira] Commented: (JS2-930) Expires header set to 0 does not cause round-trip in IE

Posted by "Dennis Dam (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703522#action_12703522 ] 

Dennis Dam commented on JS2-930:
--------------------------------

postponing it until the next release. 

More info: http://support.microsoft.com/kb/234067

> 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.1
>
>
> 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


[jira] Resolved: (JS2-930) Expires header set to 0 does not cause round-trip in IE

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ate Douma resolved JS2-930.
---------------------------

    Resolution: Cannot Reproduce

Dennis, I think you more than enough tested the reported issue without being able to reproduce.
If someone still encounters this problem, please create a new issue instead.
Closing as "Cannot Reproduce"

> 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.1
>
>
> 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


[jira] Commented: (JS2-930) Expires header set to 0 does not cause round-trip in IE

Posted by "Dennis Dam (JIRA)" <je...@portals.apache.org>.
    [ 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