Files
directus/api/src
keesvanbemmel d11c59462f Adds x-directus-cache response header with HIT value (#12732)
* Adds x-directus-cache response header with HIT value

* Added ENV var for cache header and MISS, UNCACHEABLE

* Rename CACHE_HEADER_KEY -> CACHE_STATUS_HEADER

Tad opinionated, but I feel like it describes the functionality slightly better

* Return miss consistently

Uncacheable doesn't quite describe what's happening. The user actively requests the cache to be skipped, which should result in an expected miss. The value isn't un-cacheable, the cache is skipped on purpose

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-04-14 13:42:10 -04:00
..
2022-04-05 10:51:23 -04:00
2022-04-04 20:43:56 -04:00
2021-11-03 17:34:48 -04:00
2021-11-08 17:35:05 -05:00
2021-04-29 15:55:12 -04:00
2022-02-28 21:09:27 +00:00
2021-09-13 17:48:36 -04:00