fre 2007-01-12 klockan 15:10 +0800 skrev changhy@xit.net.cn:
> Hi everyone,
> 13. Would squid update the expires information?
It should but..
http://www.squid-cache.org/bugs/show_bug.cgi?id=7
makes it only do so internally.
> 14. After 2 minutes,UserC send a request to squid
> 15. squid would validate the request or not?
not.
> 16. The response squid reply to UserC,when will expires? or within the
> following 8 minutes,UserC's agent will send more request ?
Depends on how the user agent implements expiry. There is two ways, one
comparing Expires to "now", the other compare time since fetched to
Expires - Date. The first is easier, the second works fine even when
there is clock skew among the components involved.
Regards
Henrik
This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST