I've got a RESTEasy project using the server-side cache. My resource class implements all HTTP CRUD methods and my @GET method has the @Cache(maxAge = 600) annotation. If I update my (previously POST-generated) resource by using the @PUT method, I won't see the changes in the GET response until the maxAge time has passed.
But, according to the HTTP specification, PUT, POST and DELETE must invalidate the cache: http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.10
My problem is somehow similar to RESTEASY-375, with the difference that there the invalidation should be invokable manually, whereas I want the invalidation to be automatically executed on PUT - which is a requirement to fit the HTTP spec.