.. include:: /Includes.rst.txt .. _bugfix-1791160699: =================================================== Bugfix: Keep API responses out of the browser cache =================================================== Description =========== The ETag of a resource stands for its version, but its body also carries data that changes without it, such as the pending correction of a day or the certificates of a sickness. A browser that revalidated a cached response with that ETag was answered 304 by Apache and kept showing the old body. Every response under ``/api/`` now carries ``Cache-Control: no-store, private``. Impact ====== Browsers and proxies no longer store API responses. Optimistic concurrency with ``If-Match`` is unchanged. .. index:: API, package:adsum-core