> -----Original Message-----
> From: Benson Margulies [mailto:[email protected]]
> Sent: Wednesday, November 18, 2009 9:10 AM
> To: [email protected]
> Subject: JAX-RS and cache-control
> 
> Can someone give me a recipe to add cache control headers to ALL
> responses
> from my JAX-RS service?

You should be able to implement a servlet filter that adds response headers for 
cache control.  In fact, several people on the internet have done exactly that. 
 Here's an example: 
<http://www.digitalsanctuary.com/tech-blog/java/jboss/setting-cache-headers-from-jboss.html>.

Reply via email to