Thanks, Roger pal!
Are you referring to such below "KEY" when mentioning "key" in
your reply? (Cache Manager --> All cached objects)
////////////////////////////////////////////////////////////////////
KEY 07E03AA17EFF3A0F9E82E5F7E0993ADD
STORE_OK NOT_IN_MEMORY SWAPOUT_DONE PING_NONE
CACHABLE,DISPATCHED,VALIDATED
LV:1018037680 LU:1018037680 LM:995971969 EX:-1
0 locks, 0 clients, 1 refs
Swap Dir 0, File 0X000203
/////////////////////////////////////////////////////////////////////
How to forward your reply? I find it very useful. But do not know how to
forward it. Can you help?
Best regards
George, Ma
----- Original Message -----
From: Roger Venning
To: maer727@sohu.com
Subject: Re: How to get the Key of an object?
Sent: Thu Apr 11 15:28:04 CST 2002
>
> I think it was in store.c from memory. There is a function something
> like store_get_key_public or some such. Essentially the internal store
> model of squid uses an MD5 hash of the
> x method
> x URL
> x public / private bit
>
> The public bit it set to true once the object is ready for disclosure
> to other clients / caches. This means that the icp modules will be able
> to find it in the store for instance. When objects are first beginning
> to be retrieved, they start out as private. If they use authentication
> etc. to be retrieved, they remain private.
>
> Hope this helps, you can forward my response to the list if you have
> further queries.
>
> Roger.
>
> ----- Original Message -----
> From: <maer727@sohu.com>
> Date: Thursday, April 11, 2002 5:16 pm
> Subject: How to get the Key of an object?
>
> > Hi, pals!
> >
> > Squid 2.4-STABLE use key to store cached objects, as
> > in cache maneger.
> >
> > I want to know how Squid get the MD5 based key of cached objects.
> > Which source files should I read?
> >
> > Best regards,
> > Geoege, Ma
> >
>
>
Received on Thu Apr 11 2002 - 02:45:38 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:09 MST