Re: i22: ETags on PUT responses

mån 2008-01-07 klockan 09:35 +1100 skrev Mark Nottingham:
> Upon what basis does the client cache the representation it sent, if  
> it's just working within the standards? I.e., how does it derive a  
> freshness lifetime?
> 
> At best, it seems to me that it could cache what it sent as stale, but  
> it'd need to validate the ETag it was given before serving it as fresh.

Yes, and such validation would say "Not modified, and fresh for X amount
of time". Even if the resource representation on the server differs from
what the client sent in the PUT.

Freshness is a different question really.

Regards
Henrik

Received on Sunday, 6 January 2008 23:37:28 UTC