LinuxForHealth / FHIR

The LinuxForHealth FHIR® Server and related projects
https://linuxforhealth.github.io/FHIR
Apache License 2.0
326 stars 157 forks source link

Option to add Cache-Control to responses #4157

Open jornvanwier opened 1 year ago

jornvanwier commented 1 year ago

Is your feature request related to a problem? Please describe. The FHIR server currently doesn't add a Cache-Control header to its responses. In some situations it might be desirable to set Cache-Control: no-store to keep sensitive data out of caches.

Describe the solution you'd like A setting to add a Cache-Control header with a given value to every response.

Describe alternatives you've considered The Cache-Control header can also be added to the response using a reverse proxy such as NGINX.

Acceptance Criteria

  1. GIVEN [a precondition] AND [another precondition] WHEN [test step] AND [test step] THEN [verification step] AND [verification step]

Additional context Add any other context or screenshots about the feature request here.