title: How to use CXF, JAX-RS and HTTP Caching
body: <p>The <a href="http://cxf.apache.org/" rel="nofollow noreferrer">CXF</a> documentation mentions caching as <a href="http://cxf.apache.org/docs/jax-rs.html#JAX-RS-AdvancedHTTP" rel="nofollow noreferrer">Advanced HTTP</a>:</p>
  
  <blockquote>
    <p>CXF JAXRS provides support for a number of advanced HTTP features by handling If-Match, If-Modified-Since and ETags headers. JAXRS Request context object can be used to check the preconditions. Vary, CacheControl, Cookies and Set-Cookies are also supported.</p>
  </blockquote>
  
  <p>I'm really interested in using (or at least exploring) these features. However, while "provides support" sounds really interesting, it isn't particularly helpful in implementing such features. Any help or pointers on how to use If-Modified-Since, CacheControl or ETags?</p>