[ 
https://issues.apache.org/jira/browse/WICKET-5441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Fussenegger updated WICKET-5441:
---------------------------------------

    Description: Implementations of IResourceCachingStrategy 
(FilenameWithVersionResourceCachingStrategy and 
QueryStringWithVersionResourceCachingStrategy) should only set cache duration 
to maximum if the version matches. Currently, if a user requests a resource 
with an arbitrary version, the version will be cached for one year 
(WebResponse.MAX_CACHE_DURATION). So people could polute proxy caches with 
potentially upcoming version.  (was: Implementations of 
IResourceCachingStrategy (FilenameWithVersionResourceCachingStrategy and 
QueryStringWithVersionResourceCachingStrategy) should only set cache duration 
to maximum if the version matches. Currently, if a user requests a resource 
with an arbitrary version, the version will be cached for one year 
({{WebResponse.MAX_CACHE_DURATION}}). So people could polute proxy caches with 
potentially upcoming version.)

> IResourceCachingStrategy implementations should only set caching if version 
> matches
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-5441
>                 URL: https://issues.apache.org/jira/browse/WICKET-5441
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 6.12.0, 7.0.0
>            Reporter: Stefan Fussenegger
>
> Implementations of IResourceCachingStrategy 
> (FilenameWithVersionResourceCachingStrategy and 
> QueryStringWithVersionResourceCachingStrategy) should only set cache duration 
> to maximum if the version matches. Currently, if a user requests a resource 
> with an arbitrary version, the version will be cached for one year 
> (WebResponse.MAX_CACHE_DURATION). So people could polute proxy caches with 
> potentially upcoming version.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to