Hello,
I am using the annotation client and I would like to set the cache-control as specified for the fluent client
Bundle response = client
.search()
.forResource(Patient.class)
.returnBundle(Bundle.class)
.cacheControl(new CacheControlDirective().setNoCache(true)) // ← add a directive
.execute();
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
reuse_cached_search_results_millis=-1