Wj wrote:
>> Each page is supposed to be sent with an expiry or cache-control and
>> Last-modified headers from the web server. To set expiry times for proxy
>> different to web browsers use the s-* options meaning 'server' for the proxy
>> times.
>>
>
> I'm sorry but i don't understand what i have to do in squid.conf... !
>
This part would be a change in your webserver configuration. See
http://www.web-caching.com/mnot_tutorial/how.html for a good overview.
>
>> As a backup refresh_pattern can be used to squelch expiry. But that is a
>> very sub-optimal solution.
>>
>
> How can i do that?
>
http://www.squid-cache.org/Doc/config/refresh_pattern/
So to cache everything in the /static directory for a week in the
absence of explicit expiry information, you'd use
refresh_pattern ^/static/ 10080 100% 10080
>
>> * If * the web srerver has different IPs on each of its listening links...
>>
>> Two cache_peer entries. One with each of the servers link IPs.
>> Load balance between the links with 'round-robin'/'weighted-round-robin'
>> option, or one as 'default' and the other as backup if the main dies.
>>
>
> Ok, i understand! Many Thanks
>
> Wj
>
Chris
Received on Thu Jan 08 2009 - 21:11:23 MST
This archive was generated by hypermail 2.2.0 : Fri Jan 09 2009 - 12:00:02 MST