e->timestamp is the timestamp of the object. Usually when the object was
retreived.
e->lastref is when the object was last used.
When the StoreEntry is new, before any object has actually been "stored" into
it, all the timestamps are set to "unknown" (-1).
Regards
Henrik
maer727@sohu.com wrote:
> Hi, pals!
>
> I meet two troubles with the function "new_StoreEntry".
>
> Question 1:
> What is the difference between e->timestamp and e->lastref?
>
> For example, in "new_StoreEntry", look at this line,
> e->expires = e->lastmod = e->lastref = e->timestamp = -1;
>
> e->timestamp and e->lastref are initially the same. What is
> timestamp stands for? Is it the same as e->lastref?
>
>
> Question 2:
> What is the difference between url and log_url? What do they
> stand for?
>
> Best regards,
> George, Ma
Received on Tue Apr 16 2002 - 08:04:59 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:11 MST