Re: [squid-users] question on caching objects and cache storage

From: Arindam Haldar <arindam@dont-contact.us>
Date: Fri, 03 Jan 2003 09:45:40 +0530

squid@professorfrink.com wrote:
> Hello - first off I apologize if this has been asked before, I skimmed
> through the FAQ and did several searches of the archives before joining the
> list without luck. I've been using Squid for a couple years and recently
> upgraded to the latest version, I've been very very pleased with Squid and
> have implemented several add-ons including SquidGuard, some
> monitoring/statistics tools, and some custom stuff of my own, with very good
> success as well. Thumbs up to the Squid developer community!
>
> So anyway, to my questions. I have read some of the sections in the FAQ
> about why some things are not cached by Squid, and some of it I was confused
> about. (maybe over my head!) I was trying to get Squid to cache everything
> and found the no_cache and ACL entry in squid.conf to prevent it from
> caching anything with cgi-bin and ? in it. I commented this out because I
> needed to examine cache objects that were being downloaded from a URL with
> cgi-bin in it. (had a user who had subscribed to easynews.com and was
> spending his day downloading hundreds of megs of data in nicely compressed
> zip and the manager needed to know the content.. but i digress). So, while
> that seemed to have worked (and increasing the max size of cache) I've found
> many pages still do not cache and after reading that section in the FAQ I am
> un-sure if the cgi-bin and ? lines had anything to do with other objects not
> caching. This also leads me to the next question - the only way I know of
> to find a specific object in cache (be it an image, html or whatever) is by
> seeing it being saved in real-time using the Squid cache-manager cgi
> interface. (file descriptors) Other than that I haven't figured out how to
> correlate the the object i want to find listed in access.log/store.log with
> the physical location in the cache directory.
>
> Cliff Notes: can I tell squid to cache EVERYTHING, no matter what the
> object is, and is there an easier way to find an object listed in the
> access.log in the cache directories?
>
> thanks for your patience with this newbie :)
> Ben
>
>
& also sometimes the need arises in a network(limitations) where one
needs to prefetch the site, irrespective of what the site(server) tells
squid _NOT_TO_CACHE_ .. here in INDIA many network are very low on
bandwidth, spl the cybercafe & as consultant, we face comparison with
other caches(softwares) that perform such task.. we in our ISP setup use
squid & am personally with squid for last 2+ years now with very good
performance..
But as Ben says, & i agree too, that sometimes the need arises to have a
site cached irrespective of anything else(except the refesss patern
ofcource)..
Squid developers, this is just a thought, how about a prefecting(admin)
option in squid ?.. for eg to tell squid to prefect www.foo.org with
depth 5 in every <n> days at <x> time of the day ?
the idea behind is that the request for www.foo.org being serve by squid
without going to net in the duration of before <n> days. this might/will
improve caching performance...

i dont want to sound a hardcore & blind supporter of squid but its true
till now i feel, squid is better that any other caches we have seen or
worked with..

Yes with Ben i say too----Thumps up to squid developers.. !! :-)

thanx
A.H
Received on Thu Jan 02 2003 - 21:20:19 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:25 MST