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