You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Stefan Fussenegger (JIRA)" <ji...@apache.org> on 2013/12/12 15:14:08 UTC

[jira] [Created] (WICKET-5441) IResourceCachingStrategy implementations should only set caching if version matches

Stefan Fussenegger created WICKET-5441:
------------------------------------------

             Summary: 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)