3 ms·
Regarding the body used as a key for the caching: in the RFC, from my understanding, it's indicated that we can use Location as well: Exemple: ``` QUERY /sear
by ygouzerh 4mo ago
Regarding the body used as a key for the caching: in the RFC, from my understanding, it's indicated that we can use Location as well:
Exemple:
```
QUERY /search HTTP/1.1
Content-Type: application/json
{
"filters": { "region": "asia", "status": "active" },
"sort": "created_at",
"limit": 500
}
```
can answer
```
HTTP/1.1 303 See Other
Location: /queries/results/f3a9c1d7
```
And then you can access later `/queries/results/f3a9c1d7` using a pure GET call, and cache this instead