PPS,

This isn't enough:

> > ... Is there an API to re-enable caching?  Or do I set
> > the response headers myself?
> 
> Sorry, I see the answer is WebResponse.enableCaching() ...

You must also override WebPage.setHeaders().  It isn't documented so I
updated the wiki and opened a bug on the 1.5.4 API:
https://cwiki.apache.org/WICKET/caching-in-wicket-15.html
https://issues.apache.org/jira/browse/WICKET-4357

-- 
Michael Allan

Toronto, +1 416-699-9528
http://zelea.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to