Re: [squid-users] how can I query squid cache?

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sat, 14 Jul 2007 09:35:11 +0200

fre 2007-07-13 klockan 14:31 -0500 skrev ying lcs:

> Henrik,
> Thank you for your help.
> Actually, i want to rewrite the url before squid saves it in its cache.

The url rewriter is just after access controls, before the cache is
queried.

> I assume squid has a mapping table between an URL and cached file.

Not really. Squid hashes the URL into an MD5 sum, and then hashes this
to the object store..

> Can please point me to the code which does the adding the entries
> between URL and cached file?

You mean storeSetPublicKey()?

Or storeGetPublicByRequest()?

Regards
Henrik

Received on Sat Jul 14 2007 - 01:35:23 MDT

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