You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sergey Derugo (JIRA)" <ji...@apache.org> on 2008/10/03 14:28:44 UTC
[jira] Created: (WICKET-1858) IE image caching: performance issue
during ajax updates
IE image caching: performance issue during ajax updates
-------------------------------------------------------
Key: WICKET-1858
URL: https://issues.apache.org/jira/browse/WICKET-1858
Project: Wicket
Issue Type: Improvement
Components: wicket
Affects Versions: 1.4-M3
Environment: IE 6
Reporter: Sergey Derugo
Priority: Critical
Steps to reproduce:
1. Create table(let's say 50 rows) using any repeater.
2. Add AjaxButton to each row, for example: <img src="../images/edit.gif" wicket:id="editButton" alt="Edit"/> - when user clicks on this button - the application also refreshes the entire table.
3. Since IE cannot cache images during AJAX updates it will take more time to re-load all images.
Ajax AjaxRequestTarget turns off caching (i.e. sets header "Cache-Control" to "no-cache") as the result the browser must send many requests to the server. See details here http://www.bazon.net/mishoo/articles.epl?art_id=958
Workaround:
Create Filter that will override the caching *only* for images, for example: if URL matches *.gif then the filter will set Cache-Control : public,max-age=2592000,post-check=2592000,pre-check=2592000
Possible solution:
Wicket shouldn't override caching settings for images (*.gif, *.png etc.)
Wicket shouldn't offer
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1858) IE 6 image caching: performance issue
during ajax updates
Posted by "Sergey Derugo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Derugo updated WICKET-1858:
----------------------------------
Description:
Steps to reproduce:
1. Create table(let's say 50 rows) using any repeater.
2. Add AjaxButton to each row, for example: <img src="../images/edit.gif" wicket:id="editButton" alt="Edit"/> - when user clicks on this button - the application also refreshes the entire table.
---------------------
Result: Since IE cannot cache images during AJAX updates it will take more time to re-load all images. See details here http://www.bazon.net/mishoo/articles.epl?art_id=958
Ajax AjaxRequestTarget turns off caching (i.e. sets header "Cache-Control" to "no-cache") as the result the browser must send many requests to the server.
Workaround:
Create Filter that will override the caching *only* for images, for example: if URL matches *.gif then the filter will set Cache-Control : public,max-age=2592000,post-check=2592000,pre-check=2592000. This solution noticeably improves performance
Possible solution:
Wicket shouldn't override caching settings for images (*.gif, *.png etc.)
was:
Steps to reproduce:
1. Create table(let's say 50 rows) using any repeater.
2. Add AjaxButton to each row, for example: <img src="../images/edit.gif" wicket:id="editButton" alt="Edit"/> - when user clicks on this button - the application also refreshes the entire table.
---------------------
Result: Since IE cannot cache images during AJAX updates it will take more time to re-load all images. See details here http://www.bazon.net/mishoo/articles.epl?art_id=958
Ajax AjaxRequestTarget turns off caching (i.e. sets header "Cache-Control" to "no-cache") as the result the browser must send many requests to the server.
Workaround:
Create Filter that will override the caching *only* for images, for example: if URL matches *.gif then the filter will set Cache-Control : public,max-age=2592000,post-check=2592000,pre-check=2592000. This solution noticably improves performance
Possible solution:
Wicket shouldn't override caching settings for images (*.gif, *.png etc.)
> IE 6 image caching: performance issue during ajax updates
> ---------------------------------------------------------
>
> Key: WICKET-1858
> URL: https://issues.apache.org/jira/browse/WICKET-1858
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.4-M3
> Environment: IE 6
> Reporter: Sergey Derugo
> Priority: Critical
>
> Steps to reproduce:
> 1. Create table(let's say 50 rows) using any repeater.
> 2. Add AjaxButton to each row, for example: <img src="../images/edit.gif" wicket:id="editButton" alt="Edit"/> - when user clicks on this button - the application also refreshes the entire table.
> ---------------------
> Result: Since IE cannot cache images during AJAX updates it will take more time to re-load all images. See details here http://www.bazon.net/mishoo/articles.epl?art_id=958
> Ajax AjaxRequestTarget turns off caching (i.e. sets header "Cache-Control" to "no-cache") as the result the browser must send many requests to the server.
> Workaround:
> Create Filter that will override the caching *only* for images, for example: if URL matches *.gif then the filter will set Cache-Control : public,max-age=2592000,post-check=2592000,pre-check=2592000. This solution noticeably improves performance
> Possible solution:
> Wicket shouldn't override caching settings for images (*.gif, *.png etc.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1858) IE image caching: performance issue
during ajax updates
Posted by "Sergey Derugo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Derugo updated WICKET-1858:
----------------------------------
Description:
Steps to reproduce:
1. Create table(let's say 50 rows) using any repeater.
2. Add AjaxButton to each row, for example: <img src="../images/edit.gif" wicket:id="editButton" alt="Edit"/> - when user clicks on this button - the application also refreshes the entire table.
---------------------
Result: Since IE cannot cache images during AJAX updates it will take more time to re-load all images. See details here http://www.bazon.net/mishoo/articles.epl?art_id=958
Ajax AjaxRequestTarget turns off caching (i.e. sets header "Cache-Control" to "no-cache") as the result the browser must send many requests to the server.
Workaround:
Create Filter that will override the caching *only* for images, for example: if URL matches *.gif then the filter will set Cache-Control : public,max-age=2592000,post-check=2592000,pre-check=2592000
Possible solution:
Wicket shouldn't override caching settings for images (*.gif, *.png etc.)
Wicket shouldn't offer
was:
Steps to reproduce:
1. Create table(let's say 50 rows) using any repeater.
2. Add AjaxButton to each row, for example: <img src="../images/edit.gif" wicket:id="editButton" alt="Edit"/> - when user clicks on this button - the application also refreshes the entire table.
3. Since IE cannot cache images during AJAX updates it will take more time to re-load all images.
Ajax AjaxRequestTarget turns off caching (i.e. sets header "Cache-Control" to "no-cache") as the result the browser must send many requests to the server. See details here http://www.bazon.net/mishoo/articles.epl?art_id=958
Workaround:
Create Filter that will override the caching *only* for images, for example: if URL matches *.gif then the filter will set Cache-Control : public,max-age=2592000,post-check=2592000,pre-check=2592000
Possible solution:
Wicket shouldn't override caching settings for images (*.gif, *.png etc.)
Wicket shouldn't offer
> IE image caching: performance issue during ajax updates
> -------------------------------------------------------
>
> Key: WICKET-1858
> URL: https://issues.apache.org/jira/browse/WICKET-1858
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.4-M3
> Environment: IE 6
> Reporter: Sergey Derugo
> Priority: Critical
>
> Steps to reproduce:
> 1. Create table(let's say 50 rows) using any repeater.
> 2. Add AjaxButton to each row, for example: <img src="../images/edit.gif" wicket:id="editButton" alt="Edit"/> - when user clicks on this button - the application also refreshes the entire table.
> ---------------------
> Result: Since IE cannot cache images during AJAX updates it will take more time to re-load all images. See details here http://www.bazon.net/mishoo/articles.epl?art_id=958
> Ajax AjaxRequestTarget turns off caching (i.e. sets header "Cache-Control" to "no-cache") as the result the browser must send many requests to the server.
> Workaround:
> Create Filter that will override the caching *only* for images, for example: if URL matches *.gif then the filter will set Cache-Control : public,max-age=2592000,post-check=2592000,pre-check=2592000
> Possible solution:
> Wicket shouldn't override caching settings for images (*.gif, *.png etc.)
> Wicket shouldn't offer
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1858) IE 6 image caching: performance issue
during ajax updates
Posted by "Sergey Derugo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Derugo updated WICKET-1858:
----------------------------------
Description:
Steps to reproduce:
1. Create table(let's say 50 rows) using any repeater.
2. Add AjaxButton to each row, for example: <img src="../images/edit.gif" wicket:id="editButton" alt="Edit"/> - when user clicks on this button - the application also refreshes the entire table.
---------------------
Result: Since IE cannot cache images during AJAX updates it will take more time to re-load all images. See details here http://www.bazon.net/mishoo/articles.epl?art_id=958
Ajax AjaxRequestTarget turns off caching (i.e. sets header "Cache-Control" to "no-cache") as the result the browser must send many requests to the server.
Workaround:
Create Filter that will override the caching *only* for images, for example: if URL matches *.gif then the filter will set Cache-Control : public,max-age=2592000,post-check=2592000,pre-check=2592000. This solution noticably improves performance
Possible solution:
Wicket shouldn't override caching settings for images (*.gif, *.png etc.)
was:
Steps to reproduce:
1. Create table(let's say 50 rows) using any repeater.
2. Add AjaxButton to each row, for example: <img src="../images/edit.gif" wicket:id="editButton" alt="Edit"/> - when user clicks on this button - the application also refreshes the entire table.
---------------------
Result: Since IE cannot cache images during AJAX updates it will take more time to re-load all images. See details here http://www.bazon.net/mishoo/articles.epl?art_id=958
Ajax AjaxRequestTarget turns off caching (i.e. sets header "Cache-Control" to "no-cache") as the result the browser must send many requests to the server.
Workaround:
Create Filter that will override the caching *only* for images, for example: if URL matches *.gif then the filter will set Cache-Control : public,max-age=2592000,post-check=2592000,pre-check=2592000
Possible solution:
Wicket shouldn't override caching settings for images (*.gif, *.png etc.)
Wicket shouldn't offer
Summary: IE 6 image caching: performance issue during ajax updates (was: IE image caching: performance issue during ajax updates)
> IE 6 image caching: performance issue during ajax updates
> ---------------------------------------------------------
>
> Key: WICKET-1858
> URL: https://issues.apache.org/jira/browse/WICKET-1858
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.4-M3
> Environment: IE 6
> Reporter: Sergey Derugo
> Priority: Critical
>
> Steps to reproduce:
> 1. Create table(let's say 50 rows) using any repeater.
> 2. Add AjaxButton to each row, for example: <img src="../images/edit.gif" wicket:id="editButton" alt="Edit"/> - when user clicks on this button - the application also refreshes the entire table.
> ---------------------
> Result: Since IE cannot cache images during AJAX updates it will take more time to re-load all images. See details here http://www.bazon.net/mishoo/articles.epl?art_id=958
> Ajax AjaxRequestTarget turns off caching (i.e. sets header "Cache-Control" to "no-cache") as the result the browser must send many requests to the server.
> Workaround:
> Create Filter that will override the caching *only* for images, for example: if URL matches *.gif then the filter will set Cache-Control : public,max-age=2592000,post-check=2592000,pre-check=2592000. This solution noticably improves performance
> Possible solution:
> Wicket shouldn't override caching settings for images (*.gif, *.png etc.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-1858) IE 6 image caching: performance
issue during ajax updates
Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700020#action_12700020 ]
Juergen Donnerstag commented on WICKET-1858:
--------------------------------------------
please see: http://techblog.molindo.at/2008/08/wicket-interface-speed-up-caching-resources-forever.html
> IE 6 image caching: performance issue during ajax updates
> ---------------------------------------------------------
>
> Key: WICKET-1858
> URL: https://issues.apache.org/jira/browse/WICKET-1858
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.4-M3
> Environment: IE 6
> Reporter: Sergey Derugo
> Priority: Critical
>
> Steps to reproduce:
> 1. Create table(let's say 50 rows) using any repeater.
> 2. Add AjaxButton to each row, for example: <img src="../images/edit.gif" wicket:id="editButton" alt="Edit"/> - when user clicks on this button - the application also refreshes the entire table.
> ---------------------
> Result: Since IE cannot cache images during AJAX updates it will take more time to re-load all images. See details here http://www.bazon.net/mishoo/articles.epl?art_id=958
> Ajax AjaxRequestTarget turns off caching (i.e. sets header "Cache-Control" to "no-cache") as the result the browser must send many requests to the server.
> Workaround:
> Create Filter that will override the caching *only* for images, for example: if URL matches *.gif then the filter will set Cache-Control : public,max-age=2592000,post-check=2592000,pre-check=2592000. This solution noticeably improves performance
> Possible solution:
> Wicket shouldn't override caching settings for images (*.gif, *.png etc.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-1858) IE 6 image caching: performance
issue during ajax updates
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-1858.
-----------------------------------
Resolution: Won't Fix
Assignee: Igor Vaynberg
since the url of the image is static it will not be served by the wicket filter, so there isnt much we can do about it.
> IE 6 image caching: performance issue during ajax updates
> ---------------------------------------------------------
>
> Key: WICKET-1858
> URL: https://issues.apache.org/jira/browse/WICKET-1858
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.4-M3
> Environment: IE 6
> Reporter: Sergey Derugo
> Assignee: Igor Vaynberg
> Priority: Critical
>
> Steps to reproduce:
> 1. Create table(let's say 50 rows) using any repeater.
> 2. Add AjaxButton to each row, for example: <img src="../images/edit.gif" wicket:id="editButton" alt="Edit"/> - when user clicks on this button - the application also refreshes the entire table.
> ---------------------
> Result: Since IE cannot cache images during AJAX updates it will take more time to re-load all images. See details here http://www.bazon.net/mishoo/articles.epl?art_id=958
> Ajax AjaxRequestTarget turns off caching (i.e. sets header "Cache-Control" to "no-cache") as the result the browser must send many requests to the server.
> Workaround:
> Create Filter that will override the caching *only* for images, for example: if URL matches *.gif then the filter will set Cache-Control : public,max-age=2592000,post-check=2592000,pre-check=2592000. This solution noticeably improves performance
> Possible solution:
> Wicket shouldn't override caching settings for images (*.gif, *.png etc.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.