[ https://issues.apache.org/jira/browse/WICKET-5590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14001739#comment-14001739 ]
ASF GitHub Bot commented on WICKET-5590: ---------------------------------------- Github user martin-g commented on a diff in the pull request: https://github.com/apache/wicket/pull/73#discussion_r12797692 --- Diff: wicket-core/src/main/java/org/apache/wicket/request/resource/caching/IResourceCachingStrategy.java --- @@ -71,4 +71,10 @@ * @param response */ void decorateResponse(AbstractResource.ResourceResponse response, IStaticCacheableResource resource); + + /** + * Clears any stateful information + */ + void clearCache(); --- End diff -- This addition of a new method to a public interface makes this change applicable only to Wicket 7.x. I see the PR is actually against `master`. > Add a method to clear the cache of CachingResourceVersion > --------------------------------------------------------- > > Key: WICKET-5590 > URL: https://issues.apache.org/jira/browse/WICKET-5590 > Project: Wicket > Issue Type: New Feature > Components: wicket > Affects Versions: 6.15.0 > Reporter: Fridolin Jackstadt > Priority: Minor > > Since our Application supports to change resouces content at runtime of > wicket application, we need a mechanism to invalidate the resource version > cache. The implementation is easy and very useful for us, and we will make a > pull request for that. > We would be very happy to find it in one of the next releases. -- This message was sent by Atlassian JIRA (v6.2#6252)