I read in one of Sergey's blog mentioning that WebClient acts as a browser.
It even has back(), reset(), forward() etc.

Doesn't it make sense to somehow plugin a cache(ehcache?) that holds the
response and expires/max-age/etag/last-modified headers and intelligently
query the backend using a Conditional GET and take care of 304s elegantly?
Or is there a way to accomplish this already?

If not, I may need to write some boilerplate code, which I'm trying to
avoid.

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Can-a-cache-back-WebClient-so-making-Conditional-GETs-is-easy-tp4840178p4840178.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to