Yes, it is there for package resources. Better would be write a javax.servlet.Filter with the described logic.
On Tue, Aug 2, 2011 at 11:46 AM, Serban.Balamaci <thespamtr...@gmail.com> wrote: > Hello all, > I'm using Wicket 1.5RC5.1. > > It seems that IResourceCachingStrategy can only be used on > PackageResource(in BasicResourceReferenceMapper > getCachingStrategy().decorateUrl() if reference instanceof > PackageResourceReference), is that right? > > Could I obtain the benefits for resources that are under /webapp/js, > /webapp/css? > > Because I want to use wro4j to compact js and css files and write under js > and css at /webapp/wro, but also have the benefits of > FilenameWithVersionResourceCachingStrategy, so everytime the application is > redeployed I want the users to receive the new compacted .js and .css files. > > Is there another approach? > > Thanks. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Using-IResourceCachingStrategy-with-context-relative-resources-non-PackageResource-tp3712574p3712574.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Pedro Henrique Oliveira dos Santos --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org