[
https://issues.apache.org/jira/browse/WICKET-4532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268945#comment-13268945
]
Peter Ertl commented on WICKET-4532:
------------------------------------
I could fix this in 6.x (not in 1.5 since it will break the api) with the patch
that is included in this issue. Can I get some feedback please if it's okay to
commit it into master since we so close to 6.0.0 ?
> Disable caching for particular resources.
> -----------------------------------------
>
> Key: WICKET-4532
> URL: https://issues.apache.org/jira/browse/WICKET-4532
> Project: Wicket
> Issue Type: New Feature
> Components: wicket
> Affects Versions: 1.5.5
> Reporter: Daniel Lipski
> Assignee: Peter Ertl
> Priority: Minor
>
> Currently it is possible to disable resources versioning by :
> getResourceSettings().setCachingStrategy(NoOpResourceCachingStrategy.INSTANCE);
> Unfortunately this disables caching for every resource, it would be nice to
> disable caching for particular (package) resource, something like:
> PackageResourceReference res = new PackageResourceReference(....);
> res.setCashable(false);
> Caching in general is good think but some javascript libraries get broken
> when filenames are modified with "-ver-..." token.
> Regards
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira