Re: Feedback on Availability Hints from Apple client perspective

> On 3 Aug 2023, at 11:56 am, Guoye Zhang <guoye_zhang@apple.com> wrote:
> 
> Something along this line, have you considered flipping this hint the other way around? The client sends a list of variants it has currently cached, and the server can choose one of them or to send a new one.
> 
> GET /something
> Accept-Language: en-AU
> Accept-Encoding: gzip, br
> Avail-Vary: Accept-Language=“en-US”, Accept-Encoding=“gzip”
> Avail-Vary: Accept-Language=“en-GB”, Accept-Encoding=“gzip, br”
> 
> 304
> Avail-Vary: Accept-Language=“en-GB”, Accept-Encoding=“gzip, br”
> Vary: Accept-Language, Accept-Encoding

For my use case, that's not as useful, because an intermediary cache isn't going to have enough information to make that decision.

Cheers,

--
Mark Nottingham   https://www.mnot.net/

Received on Thursday, 3 August 2023 06:47:42 UTC