Search squid archive

Refresh-Patterns

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

 



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

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

  Powered by Linux