RE: [squid-users] Delay Pool cause delay in response

From: Farooq Bhatti <farooq_at_n4networks.net>
Date: Fri, 4 Jan 2013 10:03:56 +0500

Hi Amos,

Thanks for your reply, below I am sending again it was disturbed in formatting earlier. The delay is somehow like the browser complete the communication from proxy as can be seen in the revolving icon of browser but the page appears after 3 to 4 seconds delay. I have used internet explorer and firefox for that.
______
 delay_pools 1
 delay_class 1 2
 acl downloads url_regex -i .mp3 .avi .mpeg .wmv .exe .zip .dat .rm .rmvb .mpg .mp4 .3gp .qt .wma .mov .ram .rar .mpe .iso .doc$ .tar .rpm .msi .flv .swf .torrent .bin .tar.gz .deb .tar.bz .nrg .asf .vcd .yps .gam .img .cdi mdf .lcd .vob .wim .3gpp .3gpp2 .asx .avs .az .divx .hdmov .m2p .ogm .rts .rtsp .rv .vid .wm .psf .7z .cab
delay_access 1 allow downloads
delay_access 1 deny all
delay_parameters 1 128000/128000 -1/-1
 +++++++++++++++++++++++++++++++++++++

Looking forward for the support.

Regards,
Muhammad Farooq
________________________________________________________________________
 Save the environment. Please don't print this email unless you really need to.

-----Original Message-----
From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Sent: Friday, January 04, 2013 8:57 AM
To: squid-users_at_squid-cache.org
Subject: Re: [squid-users] Delay Pool cause delay in response

On 2013-01-04 04:43, Farooq Bhatti wrote:
> Hi all,
>
> I am using with following compilation.
>
> [root_at_staffproxy ~]# squid -v
> Squid Cache: Version LUSCA_HEAD-r14809

Firstly. This is LUSCA. A commercial fork of Squid-2. Please contact Xenion support about your issues or upgrade to a Squid which is supported by the Squid Project.

> I discovers that when I enable the delay pool in my configuration
> which looks like
>
> ==========
> delay_pools 1
> delay_class 1 2
> acl downloads url_regex -i .mp3 .avi .mpeg .wmv .exe .zip .dat .rm
> .rmvb .mpg .mp4 .3gp .qt .wma .mov .ram .rar .mpe .iso .doc$ .tar .rpm
> .msi .flv .swf .torrent .bin .tar.gz .deb .tar.bz .nrg .asf .vcd .yps
> .gam .img .cdi .mdf .lcd .vob .wim .3gpp .3gpp2 .asx .avs .az .divx
> .hdmov .m2p .ogm .rts .rtsp .rv .vid .wm .psf .7z .cab delay_access 1
> allow downloads delay_access 1 deny all delay_parameters 1
> 128000/128000 -1/-1
> +++++++++++++++++++++++++++++++++++++
>
> I got very delay response to the sites of advertisement in particular
> and the other site in general. But when I remove the delay pool the
> squid response to the browser tremendously increase.

I suggest you look up a basic primer on regex patterns and what the special regex characters mean. It should be very obvious to you them what the problem is and what you need to fix.

Amos

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2221 / Virus Database: 2637/5508 - Release Date: 01/03/13
Received on Fri Jan 04 2013 - 05:02:57 MST

This archive was generated by hypermail 2.2.0 : Fri Jan 04 2013 - 12:00:03 MST