Re: Tyring to nderstand how Squid keeps its cache entry

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 16 Jul 2007 15:43:00 +0200

lör 2007-07-14 klockan 20:26 -0700 skrev Herman Schultz:
> Hi,
>
> i am trying to understand how Squid keeps its cache entry.
>
> So in the store.c, new_StoreEntry() method, I try to over-ride the entry of the url to be 'http://www.abcde.com" (as a test).

The url sent to new_StoreEntry is only for informal purposes, it's not
used as the cache key.

The cache key is calculated in storeSetPublicKey().

Why do you need to change this? I suspect what you need to do might be a
simple configuration aspect not needing any code changes..

Regards
Henrik

Received on Mon Jul 16 2007 - 07:43:10 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:06 MDT