3 ms·
Cache-Control response headers?
by DaiPlusPlus 3y ago
Cache-Control response headers?
- preseinger 3y agoinsufficient
- mnot 3y agohttps://httpwg.org/specs/rfc9110.html#POST https://httpwg.org/specs/rfc9110.html#POST
- kortex 3y ago> A cached POST response can be reused to satisfy a later GET or HEAD request. In contrast, a POST request cannot be satisfied by a cached POST response because POST is potentially unsafe; see Section 4 of [CACHING]. So if you are using POST to query, you can't cache the response. You have to resort to POST/GET. With QUERY, you have idempotent requests with cacheable responses you can directly return.
- mnot 3y agoCache-Control and Content -Location.