Re: Push and Caching

On 26 August 2014 15:18, William Chow <wchow@mobolize.com> wrote:
> Can "fresh" work? I agree that it perhaps implies caching as well,
> but at least it avoids the notion that the server actually performed
> any validation (which it could not, without the client providing
> validators for the pushed responses).

"Pushed responses are considered fresh on the origin server (...) at
the time that the response is generated." Makes sense to me, although it
starts to sound a bit no-brainish.

​And regarding your other question:​

> Also, which response is the point of reference for
> validity/freshness? The proposed sentence seems to refer to a pushed
> response being "validated" at the time that the pushed response
> itself was generated. I assume we'd actually want to treat the pushed
> responses to be fresh at the time the response for the
> associated/original request was generated.

It can only be fresh at the time the pushed response itself is
generated, surely. The original response triggered the *need* for the
pushed resource, but there's nothing stopping the value of that pushed
resource changing between the need being determined and bytes being
transmitted.

-- 
  Matthew Kerwin
  http://matthew.kerwin.net.au/

Received on Tuesday, 26 August 2014 05:49:53 UTC