Re: [squid-users] URGENT: I don't want squid to do an IMS request.

From: Denis Vlasenko <[email protected]>
Date: Wed, 16 Jun 2004 08:30:22 +0300

On Wednesday 16 June 2004 06:28, dravya wrote:
> Thanks a lot Henrik,
>
> So to confirm, The browser sends an IMS to squid, but squid detects that
> the object is in cache and thus DOESN'T send an IMS to the original server.
> Is this right?
>
> So squid never sends out an IMS??? So doesn't it check if a particular page
> has been modified? Where can I get more information on this??

I think squid will send an IMS when it thinks object is stale.
I, for one, force squid to always do IMS instead of full query
on potentially large files (part of squid.conf):

refresh_pattern -i [.]mpeg$ 2880 50% 2880000 override-lastmod reload-into-ims
                                                              ^^^^^^^^^^^^^^^
BTW. reload-into-ims is cool, ignore-reload makes squid even more speedy for
users but have much worse "worst case" scenario: object won't be updated,
even by reload, until it's stale.

It will be extremely clever to return object and do IMS in parallel,
so that user gets (potentially stale) object only once, while squid is
verifying "in background" that there isn't a newer one.
But there is no such option now. Henrik must be swamped by
silly feature requests like this ;)

--
vda
Received on Tue Jun 15 2004 - 23:37:34 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT