Search squid archive

Re: Understanding Referesh Pattern

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

 



tis 2006-09-05 klockan 11:55 -0700 skrev Max Clark:

> With the three examples below - what would the caching behavior be?

> refresh_pattern  .  0  20%  4320

Don't cache dynamic content (no expires, cache-control or
last-modified). Cache static content (Last-Modified) for 20% of it's age
or at most 3 days.

> refresh_pattern  .  3600  20%  14400

Cache dynamic content for 60 hours unless explicitly marked uncacheable.
Static content for 20% it it's age or at most a week.

> refresh_pattern  .  3600  50%  14400

Cache dynamic content for 60 hours unless explicitly marked uncacheable.
Static content for 50% of it's age or at most a week.


In all three content with an explicit expiry time (either Expires or
Cache-Control) is expired by what the server says. refresh_pattern only
applies on content not already having an expiry time set (unless you are
using some of the overrides)

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux