Search squid archive

Re: Understanding Referesh Pattern

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

 



Henrik,

So with these headers (below) there is no Last-Modified being issued
by the server. In this case does Squid use the first value in the
refresh_pattern for the cache duration?

If I wanted to force (ignoring standard HTTP protocol) an object to be
cached for 24 hours how would I define the configuration for Squid?
How do I keep Squid from connecting to the backend server once the
object has been cached?

Thanks,
Max

GET /
HTTP/1.1 200 OK
Date: Wed, 06 Sep 2006 14:51:52 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Cache-Control: Public
X-AspNet-Version: 2.0.50727
Set-Cookie: ASP.NET_SessionId=hnnatw45r4u5zcemssesl555; path=/; HttpOnly
Set-Cookie: ecm=user_id=0&isMembershipUser=0&site_id=&username=&new_site=/&unique_id=0&site_preview=0&langvalue=0&DefaultLanguage=1033&NavLanguage=1033&LastValidLanguageID=1033&ContType=&UserCulture=1033&SiteLanguage=1033;
path=/
Cache-Control: public
Content-Type: text/html; charset=utf-8
Content-Length: 46693

On 9/5/06, Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote:
tis 2006-09-05 klockan 23:04 -0700 skrev Max Clark:
> Okay,
>
> This is where I get lost: "Cache static content (Last-Modified) for
> 20% of it's age". What sets the age on static content? Where can I
> see/interrogate this?

The Last-Modified header given by the server.

Regards
Henrik





--
Max Clark
http://www.clarksys.com

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

  Powered by Linux