You can override Resource.configureResponse or WebResource.setHeaders.
Additionally, you could consider using Resource.setCacheable(false),
and then the IResourceStream's (or actually IModifiable's)
lastModifiedTime result is used.
Eelco
On 6/19/06, jan_bar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> how can I add response.setHeader("Pragma", "no-cache") to some shared
> resources? I have upload area/folder and when resource is uploaded I want to
> see the new resource instead of cached old resource.
>
> Thanks, Jan
>
>
>
>
>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user