Re: [squid-users] caching gzip pages

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 17 Jul 2008 03:49:45 +1200

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
Received on Wed Jul 16 2008 - 15:49:37 MDT

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