Files
directus/docs
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-02-21 15:32:09 -05:00
2022-04-14 09:17:42 -04:00
2022-03-11 10:23:59 -05:00
2021-02-05 18:51:54 -05:00
2022-01-29 17:41:57 +00:00
2021-10-25 21:19:23 -04:00
2021-06-08 15:59:55 -04:00
2020-11-18 20:49:50 -05:00
2022-04-01 14:41:08 -04:00
2021-10-25 21:19:23 -04:00