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

Reply via email to