← Back to context

Comment by drdexebtjl

11 hours ago

This RFC does not require caching to be implemented at all, so it wouldn’t be reasonable to expect a cache hit, no. But if your implementation does that, cool :)

An RFC would never mandate caching. But the table in the article says "cacheable: yes" for GET and QUERY. There is no "my implementation" because this is a proposal that has only just been proposed and there is currently "no implementations". I'm simply saying that QUERY will be harder to get caching correct compared to GET, and I'm almost certain there will be end up being CVEs resulting from its implementation.

  • It’s been an IETF Internet-Draft for a few years at this point, so there are some implementations already in the wild.

    What I mean is that implementations are free to choose do something as complex as what you suggest, but also something as simple as hashing the body as a blob, and they can even bail on caching completely (for example if the payload is too large).

    All of those options would be correct behavior per the RFC.

    Of course we may still see CVEs from this, but they will be self-inflicted, not caused by a complex standard.