[squid-users] Re: Refresh-Patterns

From: Frank Helmschrott <fhelmschrott_at_gmail.com>
Date: Wed, 25 Jun 2008 23:12:51 +0200

really no one with an idea on this topic?

2008/6/20 Frank Helmschrott <fhelmschrott_at_gmail.com>:
> Hi,
>
> i've still got problems understandig refresh rules completely. I've
> setup these rules:
>
> refresh_pattern ^ftp: 1440 20% 10080
> refresh_pattern ^gopher: 1440 0% 1440
> refresh_pattern . 5 75% 15
> refresh_pattern -i \.css$ 1440 90% 3660 override-expire
> reload-into-ims ignore-reload
> refresh_pattern -i \.jpg$ 600 75% 1440 override-expire reload-into-ims
> ignore-reload
> refresh_pattern -i \.png$ 600 75% 1440 override-expire reload-into-ims
> ignore-reload
> refresh_pattern -i \.gif$ 600 75% 1440 override-expire reload-into-ims
> ignore-reload
> refresh_pattern -i -live- 1 75% 2 override-expire override-lastmod
> reload-into-ims ignore-reload
>
> I'd want to force css and images not to be refreshed from the
> application server by a simple browser reload and also i need some
> more buffer for Pages containing "-live-" in the url. These are kinda
> live tickers where people permanently refresh the page. I need them to
> get buffered for 1-2 minutes until they get fetched again from the app
> server.
>
> With this rules when refreshing a page that contains "-live-" in the
> url squid fetches all the images, css and the page itself from the
> application server.
>
> What am i doing wrong? I guess there's some basic misunderstanding
> between me and squid ;) I'm using 2.6.5 from the debian stable
> repositories (Etch).
>
> Thanks for your help.
>
> --
> Frank
>

-- 
Frank
Received on Wed Jun 25 2008 - 21:12:56 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 26 2008 - 12:00:04 MDT