Search squid archive

RE: How to force resources expired when squid starts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> refresh_pattern does same thing as max-age. But applies when no
max-age 
> is given.

I was wrong. Thanks for the explanation.

> No. You can only purge them one by one. Why are you needing this?

Because if a lot of objects are modified during the max-age time,
putting all the objects expired, squid would ask for them again, and
only get the modified objects.

I know that is possible to decrease the max-age or put max-age to 0 (ask
always if the object is modified) but this generate a lot of network
traffic when a lot of objects are asked. 

Thanks for your help.

Daniel


-----Mensaje original-----
De: Amos Jeffries [mailto:squid3@xxxxxxxxxxxxx] 
Enviado el: lunes, 23 de junio de 2008 14:46
Para: Donoso Gabilondo, Daniel
CC: squid-users@xxxxxxxxxxxxxxx
Asunto: Re:  How to force resources expired when squid
starts

Donoso Gabilondo, Daniel wrote:
> Hello, 
> I have a question.
> 
> My http server sends the objects with max-age of 48 hours. This is
> perfect for me, because squid during 48 hours doesn't send to server
the
> packet to check if the object is modified.
> 
> I saw that is possible delete all the cached objects with squidclient,

one by one only.

> or with refresh_pattern put some objects expired when a time elapsed
or
> when the resources are % old.

refresh_pattern does same thing as max-age. But applies when no max-age 
is given.

> 
> Is there any way to put all the cached objects expired manually?
> 

No. You can only purge them one by one. Why are you needing this?

Amos
-- 
Please use Squid 2.7.STABLE3 or 3.0.STABLE7


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux