Search squid archive

Re: Squid is caching files that have been updated

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

 



So if I set:
refresh_pattern ^http:          0       0%      0
Squid will ask the webserver everytime, and only use the cache, if the
file is not modified?

Thanks,
Jacob

On 4/24/06, Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote:
> lör 2006-04-22 klockan 21:57 +0200 skrev Jacob Friis Saxberg:
> > Here's my result:
> > http://www.ircache.net/cgi-bin/cacheability.py?query=http%3A%2F%2Fdfa.dk%2Flib%2Fmenu_site.xslt
> >
> > How can I make sure that Squid doesn't use TTL for HTTP?
>
> What you want it to do then?
>
> HTTP does not announce when an object changes. Instead it relies on
>
> a) The web server to provide an indication when the object is expected
> to change, done via the Expires and/or Cache-Control: max-age HTTP
> headers.
>
> b) If the web server doesn't give any freshness/expiry indication caches
> guesses based on the modification age of the object.
>
>
> Squid's guesses ('b') is tuned by the refresh_pattern directive in
> squid.conf.
>
> Regards
> Henrik
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQBETAdt516QwDnMM9sRAsCtAJ4ywF6TT3vCS2qzev6HQFATldTuDwCeNJhz
> tS4ywXiUITymC3kTy4wUUkk=
> =y+Sv
> -----END PGP SIGNATURE-----
>
>
>


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

  Powered by Linux