Re: [squid-users] refresh pattern

From: Ahmad Masood Shah <masood@dont-contact.us>
Date: Thu, 26 Jun 2003 11:10:06 +0500

Comments all refresh_pattern line and add lines shown below... I think it
will help you a lot to save bandwidth.

refresh_pattern -i \.(jpg|jpeg|gif|png|mov|avi)$ 10000 95% 99000
ignore-reload override-expire override-lastmod
refresh_pattern -i \.(mpg|mpeg|mid|wav|mp3)$ 10000 95% 99000 ignore-reload
override-expire override-lastmod
refresh_pattern -i . 300 50% 3600

-- 
Best Regs,
Masood Ahmad Shah
System Administrator
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
|   * * * * * * * * * * * * * * * * * * * * * * * *
|   Fibre Net (Pvt) Ltd. Lahore, Pakistan
|   Tel: +92-42-6677024
|   Mobile: +92-300-4277367
|   http://www.fibre.net.pk
|   * * * * * * * * * * * * * * * * * * * * * * * *
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
"All I want is a few minutes alone with the source code for the universe and
a quick recompile."
----- Original Message ----- 
From: "Sukhjit Singh" <sukhjits@emmtel.com>
To: "Ahmad Masood Shah" <masood@ipsec.fibre.net.pk>; "Henrik Nordstrom"
<hno@squid-cache.org>
Cc: "squid list" <squid-users@squid-cache.org>
Sent: Thursday, June 26, 2003 10:48 AM
Subject: [squid-users] refresh pattern
> Dear squid gurus
>
> what does  these lines indicate kindly explain.
> #Suggested default:
> refresh_pattern ^ftp:              1440    20%     10080
> refresh_pattern ^gopher:        1440    0%      1440
> refresh_pattern .                     0       20%     4320  ---> does this
> mean that for all objects the min refresh pattern is 0 mins and max is
4320
> mins, if i change the the zero value what can be the results.
> kindly explain.
>
>
>
>
>    Regards
>
>    Sukhjit Singh
>    Network Administrator
>    Emmsons Infotech Ltd.
>    SCO 13-14-15, Sec 34A,
>    Chandigarh-160 022
>    (Ph): +91 172 606664
>    Mobile 9815228132
>    sukhjits@emmtel.com
>    http://www.emmtel.com
>
> ----- Original Message -----
> From: "Ahmad Masood Shah" <masood@ipsec.fibre.net.pk>
> To: "Sukhjit Singh" <sukhjits@emmtel.com>; "Henrik Nordstrom"
> <hno@squid-cache.org>
> Cc: "squid list" <squid-users@squid-cache.org>
> Sent: Thursday, June 26, 2003 10:12 AM
> Subject: Re: [squid-users] saving bandwidth with squid+wccp
>
>
> > Sukhjit,
> > WCCP can not save bandwidth :) you will have to study it first...
> > If you talk about to increase byte hit ratio you will have to study in
> squid
> > refresh_pattren I'm sure it will help
> >
> > --
> >
> > Best Regs,
> > Masood Ahmad Shah
> > System Administrator
> >
> > ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
> > |   * * * * * * * * * * * * * * * * * * * * * * * *
> > |   Fibre Net (Pvt) Ltd. Lahore, Pakistan
> > |   Tel: +92-42-6677024
> > |   Mobile: +92-300-4277367
> > |   http://www.fibre.net.pk
> > |   * * * * * * * * * * * * * * * * * * * * * * * *
> > ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
> > Unix is very simple, but it takes a genius to understand the simplicity.
> > (Dennis Ritchie)
> > "All I want is a few minutes alone with the source code for the universe
> and
> > a quick recompile."
> >
> >
> > ----- Original Message -----
> > From: "Sukhjit Singh" <sukhjits@emmtel.com>
> > To: "Henrik Nordstrom" <hno@squid-cache.org>
> > Cc: "squid list" <squid-users@squid-cache.org>
> > Sent: Thursday, June 26, 2003 9:25 AM
> > Subject: [squid-users] saving bandwidth with squid+wccp
> >
> >
> > > Dear all squid gurus,
> > >
> > > kindly tell me how to increase byte hit ratio or how to save bandwidth
> > with
> > > squid+wccp.
> > >
> > >
> > >
> > >
> > >
> > >
> > >    Regards
> > >
> > >    Sukhjit Singh
> > >
> > >
> > >
> >
> >
>
>
Received on Thu Jun 26 2003 - 00:10:27 MDT

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