Re: RFC 10008: caching QUERY without re-sending the request body

Am 01.07.2026 um 18:13 schrieb Ben Schwartz:
> On Wed, Jul 1, 2026 at 6:09 AM Julian Reschke <julian.reschke@gmx.de> wrote:
>> Am 30.06.2026 um 23:49 schrieb Ben Schwartz:
> ...
>>> * They must all be using a byte-identical encoding of the QUERY.  (No
>>> JSON, unless everyone is normalizing it somehow.)
>>   > ...
>>
>> Not really:
>>
>> An origin server parses the payload into some kind of data model anyway,
>> so it can "aggressively" normalize
> 
> Sure, but in this proposal the client only (initially) sends a
> cryptographic hash of the payload, so any normalization must occur
> client-side.

If a client even initially sends a hash, how does the origin server know 
what to do with it??? (me very confused)

>> A cache can still normalize a query if it knows the syntax; be it based
>> on JSON, XML etc.
> 
> Maybe you're hinting at using this proposal for cache-refresh traffic
> from a shared cache?  I don't think it's helpful for that; the
> existing Location header is sufficient.

That was in reply to the claim that QUERY responses per se are not 
cacheable.

Best regards, Julian

Received on Thursday, 2 July 2026 13:06:31 UTC