I am using the annotation client and I would like to set the cache-control as specified for the fluent client
Bundle response = client
.cacheControl(new CacheControlDirective().setNoCache(true)) // ← add a directive
I am not able to find How to do it.
Moreover, it is not clear How I can force the HAPI server to not use the cache for all request.
I have the following settings into hapi.properties but I don’t know really this one