Re: how to mark wicket html response as cacheable?

2008-09-01 Thread ywtsang
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

Re: how to mark wicket html response as cacheable?

2008-09-01 Thread Johan Compagner
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

Re: how to mark wicket html response as cacheable?

2008-09-01 Thread ywtsang
yes, our pages basically are dynamic as the pages contain ajax component we plan to do that for the optimization of non-javascript clients like crawlers we try to define a page modification logic and implement the 304 not modified in order to save the bandwidth or so if it is not supported by

how to mark wicket html response as cacheable?

2008-08-31 Thread ywtsang
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:

Re: how to mark wicket html response as cacheable?

2008-08-31 Thread jWeekend
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