Re: [squid-users] Refresh pattern

From: schazad choudary <schahzadchoudhry@dont-contact.us>
Date: Sun, 12 May 2002 14:11:40 -0700 (PDT)

Thanx Henrik I have implement this,

refresh_pattern -i \.gif$ 1440 50% 177800
will it work or i need to change it to

refresh_pattern -i .gif$ 1440 50% 177800

coz i have observed that some gifs i open every time
,even again and again in one mine access.log show MISS
every time

why ?

regrads'

--- "Squid Support (Henrik Nordstrom)"
<hno@marasystems.com> wrote:
> refresh_pattern is used to calculate the TTL of
> objects not having an
> explicit expiry time set by the origin server.
>
> min is the minimum age assigned by this heuristics
>
> max is the maxium age assigned by this heuristics
>
> percent is a percentage of the objects modification
> age (Date -
> Last-Modified).
>
> Objects having an explicit expiry time set by the
> server are not
> concerned with refresh_pattern unless you use one of
> the hack options
> to override what the server says.
>
> Using any of the hack options for overriding the
> HTTP specifications,
> or a min age other than 0 is not recommended unless
> you are certain
> you can accept the effects. The effect can easily
> include caching of
> content intended to be private to specific users
> when the site is
> using cookies or similar user identification methods
> and don't tell
> in the response that the reply is user private. This
> problem can
> commonly be seen for example with PHP based sites
> when having a too
> agressive refresh_pattern setting.
>
> Regards
> Henrik Nordström
>
>
> On Sunday 12 May 2002 05:13, schazad choudary wrote:
> > This time i need a reall help from u,I am stuc
> with my
> > bandwidth ,
> >
> > I am setting up refresh pattern to save my
> bandwidth
> > ,i am not much concern if some of the objecs are
> > outdated.But still i am not clear in concept after
> > reading agiain and agin teh faqs and seraching
> from
> > differnt sites , i am not clear about the
> percentage.
> > tell me please if i am wrong.
> >
> >
> > min is the simple time before that squid will not
> ask
> > for fresh copy of saved object
> >
> > maximum is the time after that squid will must ask
> for
> > fresh copy. right ?
> >
> > what actully the percentage do ???
> >
> > 2nd :I am running Isp network wich option is
> better
> > for me to use please please specify one which is
> most
> > commonly used.
> >
> > override-expire
> > override-lastmod
> > reload-into-ims
> > ignore-reload
> > I will be too much thank full to u people .
> > regards
> > Schahzad Zafar
> >
> > __________________________________________________
> > Do You Yahoo!?
> > LAUNCH - Your Yahoo! Music Experience
> > http://launch.yahoo.com
>
> --
> MARA Systems AB, Giving you basic free Squid support
> Your source of advanced web reverse proxying
> solutions
> http://www.marasystems.com/producs/

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
Received on Sun May 12 2002 - 15:11:42 MDT

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