Re: [squid-users] caching gzip pages

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 17 Jul 2008 22:25:22 +1200

Geetha_Priya wrote:
> Thanks for your response. I do have squid source code with me. The src directory has bunch of C files. Cache_mngr.c, ipcache.c and so on, would it be possible to nail down a few files which would possibly talk about squid's techniques for caching so I can look into those.
>

What I've seen of it is in the src/store.* files and src/fs/ sub-directory.

Amos

> Thanks and regards
> Geetha
>
> -----Original Message-----
> From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
> Sent: Wednesday, July 16, 2008 9:20 PM
> To: Geetha_Priya
> Cc: squid-users_at_squid-cache.org
> Subject: Re: [squid-users] caching gzip pages
>
> Geetha_Priya wrote:
>> Dear all,
>>
>> www.yahoo.com and other websites send gzip versions of their web page. The squid just stores [caches ] it in some location and the browser can interpret/deflate the gzip and hence displays the webpage.
>>
>> In this regard How does squid cache web pages that comes as gzip format?
>
> Exactly the same. Just with index data saying its zipped or non-zipped.
>
>> I see other http proxies [like wcol for ex.] creates directory named www.yahoo.com and stores a file named no_name.html and then when you click further links from this page they go on creating subdirectories with same names as the requested link.
> > Does squid also work this way? Can you send me a pointer to the code
> where I can checkout its caching implementation.
>
> No. Squid uses completely different methods, based around quick hashes.
> If you are still interested the squid code is all at:
> http://www.squid-cache.org/Versions/
>
> Amos
> --
> Please use Squid 2.7.STABLE3 or 3.0.STABLE7
>
>
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

-- 
Please use Squid 2.7.STABLE3 or 3.0.STABLE7
Received on Thu Jul 17 2008 - 10:25:15 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 17 2008 - 12:00:03 MDT