Re: Two new HTTP caching specifications

On Mon, Jun 26, 2023, at 13:44, Mark Nottingham wrote:
> The original design took the approach you suggest, but that makes error 
> handling awkward -- if an unsupported selector type is used, should 
> that be skipped, or should the entire thing fail (in which case the 
> cache needs to scan it first)?

Given that you have an up-front declaration of what is supported (which probably shouldn't regress), it seems like the odds of a failure of that particular type is unusual.  Besides, incomplete invalidation that produces a 4xx response doesn't seem like a major problem in this case.  The client can try again with the offending chunk removed, or replaced with an alternative that is more likely to be supported.

Received on Monday, 26 June 2023 07:40:00 UTC