Hi Mauro,

/resources is a special path managed by Wicket, e.g.
ResourceReference(MyComponent.class, "myImage.gif") will be reachable at
/resources/com.mypackage.MyComponent/myImage.gif

Resources which are put in next to WEB-INF folder are not managed by WIcket
and they are served directly by the web container
Take a look at http://code.google.com/p/wro4j/

On Sun, Oct 31, 2010 at 1:11 AM, Mauro Ciancio <[email protected]>wrote:

> Hello everyone:
>
> I've been trying to get properly working the caching in my site's
> resources using the if-modified-since header. I've noticed that the
> check for the header is only done if the resource is mounted under the
> '/resources' url (wicket filter @ line 1130, Wicket 1.4).
>
> My resources are mounted under another url ('/photos'). I was
> wondering why the check is restricted to that url. Also, I've tried to
> mount my resources under /resources/photos but I get an exception that
> says 'cannot be mounted under /resources'.
>
> Any advices?
> Thanks in advance.
> --
> Mauro Ciancio
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to