Why would you do that? That should only be done in a head request.
But currently i dont think we have support for webpages last modified
request at the moment.

Problem is that wickets pages are really dynamic, make sure that yours
are really static dont use ajax and that stuff on them because if a
browser really caches stuff i dont know if then everything is always
in sync.

On 9/1/08, ywtsang <[EMAIL PROTECTED]> wrote:
>
> thanks
>
> how about "skipping" the content rendering?
>
> i.e. how to just make the web page's response to include the headers only?
>
>
> jWeekend wrote:
>>
>> One way is to override WebPage's setHeaders(WebResponse response) method
>> and call setHeader on the passed in WebResponse.
>>
>> Regards - Cemal
>>  http://www.jWeekend.co.uk http://jWeekend.co.uk
>>
>>
>> ywtsang wrote:
>>>
>>> i want to set my html with "last modified date" in order to allow client
>>> side caching
>>>
>>> how can we do that in wicket?
>>>
>>> or we need to manipulate the response header directly?
>>>
>>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/how-to-mark-%22wicket-html-response%22-as-%22cacheable%22--tp19248592p19249443.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to