[ 
https://issues.apache.org/jira/browse/WICKET-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771527#action_12771527
 ] 

Stefan Fussenegger commented on WICKET-1602:
--------------------------------------------

wicketstuff-merged-resources is dealing with this issue: 
http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-merged-resources

> Wicket resources - wicket is requesting resources every 1 hour
> --------------------------------------------------------------
>
>                 Key: WICKET-1602
>                 URL: https://issues.apache.org/jira/browse/WICKET-1602
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.3
>            Reporter: Stefan Simik
>            Assignee: Johan Compagner
>             Fix For: 1.5-M1
>
>
> There is a problem with wicket ajax javascripts - there are reloading by 
> browser every 1 hour, because the Expire header 
> is hardcoded to 3600 seconds in WebResource#setHeaders() method.
> This problem bubbles up to commonly used class ResourceReference class, which 
> internally works 
> with PackageResource that uses our problematic class -  WebResource.
> SIMPLE AND FAST SOLUTION
> ----------------------------------------------
> The only thing, that is needed to fix this, is to change 
> WebResource#setHeaders() to take
> the caching time from some wicket settings, so it is not hardcoded and can be 
> configured by developer. 
> NABBLE about this problem:
> ----------------------------------------------------------------
> http://www.nabble.com/forum/ViewPost.jtp?post=17117009&framed=y

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