You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Patrick Antivackis (JIRA)" <ji...@apache.org> on 2009/10/26 22:36:59 UTC
[jira] Created: (OFBIZ-3091) A way to generate no cache header for
the views
A way to generate no cache header for the views
-----------------------------------------------
Key: OFBIZ-3091
URL: https://issues.apache.org/jira/browse/OFBIZ-3091
Project: OFBiz
Issue Type: Improvement
Components: framework
Affects Versions: Release Branch 4.0, Release Branch 9.04, SVN trunk
Reporter: Patrick Antivackis
Fix For: SVN trunk
The goal of this improvement is to allow at the view level, through setup in the controller.xml file, to generate no-cache http headers.
Example is included for the showcart view of the ecommerce application
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-3091) A way to generate no cache header for
the views
Posted by "Patrick Antivackis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Antivackis updated OFBIZ-3091:
--------------------------------------
Attachment: (was: patch-no-cache.diff)
> A way to generate no cache header for the views
> -----------------------------------------------
>
> Key: OFBIZ-3091
> URL: https://issues.apache.org/jira/browse/OFBIZ-3091
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Patrick Antivackis
> Fix For: SVN trunk
>
>
> The goal of this improvement is to allow at the view level, through setup in the controller.xml file, to generate no-cache http headers.
> Example is included for the showcart view of the ecommerce application
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-3091) A way to generate no cache header for
the views
Posted by "Patrick Antivackis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Antivackis updated OFBIZ-3091:
--------------------------------------
Attachment: patch-no-cache.diff
For trunk at revision 829979
> A way to generate no cache header for the views
> -----------------------------------------------
>
> Key: OFBIZ-3091
> URL: https://issues.apache.org/jira/browse/OFBIZ-3091
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Release Branch 4.0, Release Branch 9.04, SVN trunk
> Reporter: Patrick Antivackis
> Fix For: SVN trunk
>
> Attachments: patch-no-cache.diff
>
>
> The goal of this improvement is to allow at the view level, through setup in the controller.xml file, to generate no-cache http headers.
> Example is included for the showcart view of the ecommerce application
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-3091) A way to generate no cache header for
the views
Posted by "Patrick Antivackis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Antivackis updated OFBIZ-3091:
--------------------------------------
Attachment: Patck-OFBIZ-3091.txt
At revision 830296 and with a log verbose added.
> A way to generate no cache header for the views
> -----------------------------------------------
>
> Key: OFBIZ-3091
> URL: https://issues.apache.org/jira/browse/OFBIZ-3091
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Patrick Antivackis
> Fix For: SVN trunk
>
> Attachments: Patck-OFBIZ-3091.txt
>
>
> The goal of this improvement is to allow at the view level, through setup in the controller.xml file, to generate no-cache http headers.
> Example is included for the showcart view of the ecommerce application
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (OFBIZ-3091) A way to generate no cache header for
the views
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-3091.
----------------------------------
Resolution: Fixed
Assignee: Jacques Le Roux
> A way to generate no cache header for the views
> -----------------------------------------------
>
> Key: OFBIZ-3091
> URL: https://issues.apache.org/jira/browse/OFBIZ-3091
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Patrick Antivackis
> Assignee: Jacques Le Roux
> Fix For: SVN trunk
>
> Attachments: Patck-OFBIZ-3091.txt
>
>
> The goal of this improvement is to allow at the view level, through setup in the controller.xml file, to generate no-cache http headers.
> Example is included for the showcart view of the ecommerce application
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (OFBIZ-3091) A way to generate no cache header
for the views
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773891#action_12773891 ]
Jacques Le Roux commented on OFBIZ-3091:
----------------------------------------
I see, thanks Patrick,
I think I will commit without this specific change. Actualy I will comment it out with an explanation
This will allow people encoutering the same issue than you to easily cope with.
For the moment svn is down, so I will do later
> A way to generate no cache header for the views
> -----------------------------------------------
>
> Key: OFBIZ-3091
> URL: https://issues.apache.org/jira/browse/OFBIZ-3091
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Patrick Antivackis
> Fix For: SVN trunk
>
> Attachments: Patck-OFBIZ-3091.txt
>
>
> The goal of this improvement is to allow at the view level, through setup in the controller.xml file, to generate no-cache http headers.
> Example is included for the showcart view of the ecommerce application
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (OFBIZ-3091) A way to generate no cache header
for the views
Posted by "Adrian Crum (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770229#action_12770229 ]
Adrian Crum commented on OFBIZ-3091:
------------------------------------
Improvements are for the trunk only. Releases receive only bug fixes.
> A way to generate no cache header for the views
> -----------------------------------------------
>
> Key: OFBIZ-3091
> URL: https://issues.apache.org/jira/browse/OFBIZ-3091
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Release Branch 4.0, Release Branch 9.04, SVN trunk
> Reporter: Patrick Antivackis
> Fix For: SVN trunk
>
> Attachments: patch-no-cache.diff
>
>
> The goal of this improvement is to allow at the view level, through setup in the controller.xml file, to generate no-cache http headers.
> Example is included for the showcart view of the ecommerce application
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (OFBIZ-3091) A way to generate no cache header
for the views
Posted by "Patrick Antivackis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773884#action_12773884 ]
Patrick Antivackis commented on OFBIZ-3091:
-------------------------------------------
Hello,
Yes i encountered problems already, but it was in special cases, when someone has multiple accounts, and logged in with one account, go to the cart page, then loggout/logged in with 2nd account, then when he goes back to the cart page, depending on cache configuration of the browser, the page display the content of the first account, as it is just a GET page without parameters in the url.
So not sure, this page is the right one to apply the cache killer example, but it works for the special case I encountered.
> A way to generate no cache header for the views
> -----------------------------------------------
>
> Key: OFBIZ-3091
> URL: https://issues.apache.org/jira/browse/OFBIZ-3091
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Patrick Antivackis
> Fix For: SVN trunk
>
> Attachments: Patck-OFBIZ-3091.txt
>
>
> The goal of this improvement is to allow at the view level, through setup in the controller.xml file, to generate no-cache http headers.
> Example is included for the showcart view of the ecommerce application
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (OFBIZ-3091) A way to generate no cache header
for the views
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773993#action_12773993 ]
Jacques Le Roux commented on OFBIZ-3091:
----------------------------------------
Thanks Patrick,
Your (slightly modified) patch is in trunk at r833096
> A way to generate no cache header for the views
> -----------------------------------------------
>
> Key: OFBIZ-3091
> URL: https://issues.apache.org/jira/browse/OFBIZ-3091
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Patrick Antivackis
> Fix For: SVN trunk
>
> Attachments: Patck-OFBIZ-3091.txt
>
>
> The goal of this improvement is to allow at the view level, through setup in the controller.xml file, to generate no-cache http headers.
> Example is included for the showcart view of the ecommerce application
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-3091) A way to generate no cache header for
the views
Posted by "Patrick Antivackis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Antivackis updated OFBIZ-3091:
--------------------------------------
Affects Version/s: (was: Release Branch 9.04)
(was: Release Branch 4.0)
Updated
> A way to generate no cache header for the views
> -----------------------------------------------
>
> Key: OFBIZ-3091
> URL: https://issues.apache.org/jira/browse/OFBIZ-3091
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Patrick Antivackis
> Fix For: SVN trunk
>
> Attachments: patch-no-cache.diff
>
>
> The goal of this improvement is to allow at the view level, through setup in the controller.xml file, to generate no-cache http headers.
> Example is included for the showcart view of the ecommerce application
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (OFBIZ-3091) A way to generate no cache header
for the views
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773687#action_12773687 ]
Jacques Le Roux commented on OFBIZ-3091:
----------------------------------------
Hi Parick,
I was near to commit your patch but then I wondered if we should really expire the browser cache for the cart OOTB, any opinions ?
Did you find a bad behavior for OFBiz OOTB ?
> A way to generate no cache header for the views
> -----------------------------------------------
>
> Key: OFBIZ-3091
> URL: https://issues.apache.org/jira/browse/OFBIZ-3091
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Patrick Antivackis
> Fix For: SVN trunk
>
> Attachments: Patck-OFBIZ-3091.txt
>
>
> The goal of this improvement is to allow at the view level, through setup in the controller.xml file, to generate no-cache http headers.
> Example is included for the showcart view of the ecommerce application
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.