Search squid archive

Re: Re: Reverse proxy always misses cache items (dynamic pages)

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

 



On 11/12/2013 4:16 p.m., juan_fla wrote:
>
> Notice two calls to index.php?title=Main_Page , both missed. Also last call
> is a HEAD request, and the headers basically show:
> 
> HTTP/1.1 200 OK
> Date: Wed, 11 Dec 2013 02:54:15 GMT
> Server: Apache
> X-Powered-By: PHP/5.2.6
> X-Content-Type-Options: nosniff
> Vary: Accept-Encoding,Cookie
> Expires: Thu, 01 Jan 1970 00:00:00 GMT
> Cache-Control: private, must-revalidate, max-age=0
> Content-Language: en
> Last-Modified: Thu, 21 Nov 2013 03:44:42 GMT
> Content-Type: text/html; charset=UTF-8
> X-Cache: MISS from tourmaline.tilted.net
> Via: 1.1 tourmaline.tilted.net (squid/3.3.8)
> Transfer-Encoding: chunked
> 
> At this point, access.log continues showing all missed files. I really don't
> understand what I need to do in order to have squid cache using localhost,
> or to try to hit using mydomain, and I don't seem to get any information
> from the headers.
> 

They also say that the actual object at this URL changes with any
difference in provided Cookie and Accept-Encoding headers from the
client. By reason of that containing Cookie alone the object will
usually be a MISS.

The headers say the object is a private object only to be delivered to
the one client and not to be shared with others. Squid does not cache
private information by default (and since you are running a
reverse-proxy its probably best not to use the available override).

Amos




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

  Powered by Linux