Re: httpd_accel not caching properly

From: Jack Moffitt <jack@dont-contact.us>
Date: Fri, 30 Jun 2000 16:27:10 -0700

The index.html has a <javascript src="/remote/r.js"> in it, so the 2nd
and 4th entry is the request for that file.

962407429.191 6 192.168.40.13 TCP_MISS/200 350 GET http://192.168.48.143:8080/index.html - DIRECT/192.168.48.143 text/html [Accept: */*%0d%0aAccept-Language: en-us%0d%0aAccept-Encoding: gzip, deflate%0d%0aUser-Agent: Mozilla/4.0 (compatible%3b MSIE 5.01%3b Windows 98)%0d%0aHost: 192.168.48.143%0d%0aConnection: Keep-Alive%0d%0a] [HTTP/1.1 200 OK%0d%0aDate: Fri, 30 Jun 2000 23:23:49 GMT%0d%0aServer: Apache/1.3.12 (Unix) PHP/3.0.16%0d%0aX-Powered-By: PHP/3.0.16%0d%0aConnection: close%0d%0aContent-Type: text/html%0d%0a%0d]
962407429.212 6 192.168.40.13 TCP_MISS/200 617 GET http://192.168.48.143:8080/remote/r.js - DIRECT/192.168.48.143 text/html [Accept: */*%0d%0aReferer: http://192.168.48.143/index.html%0d%0aAccept-Language: en-us%0d%0aAccept-Encoding: gzip, deflate%0d%0aUser-Agent: Mozilla/4.0 (compatible%3b MSIE 5.01%3b Windows 98)%0d%0aHost: 192.168.48.143%0d%0aConnection: Keep-Alive%0d%0a] [HTTP/1.1 200 OK%0d%0aDate: Fri, 30 Jun 2000 23:23:49 GMT%0d%0aServer: Apache/1.3.12 (Unix) PHP/3.0.16%0d%0aX-Powered-By: PHP/3.0.16%0d%0aConnection: close%0d%0aContent-Type: text/html%0d%0a%0d]
962407438.886 5 192.168.40.13 TCP_MISS/200 350 GET http://192.168.48.143:8080/index.html - DIRECT/192.168.48.143 text/html [Accept: */*%0d%0aAccept-Language: en-us%0d%0aAccept-Encoding: gzip, deflate%0d%0aUser-Agent: Mozilla/4.0 (compatible%3b MSIE 5.01%3b Windows 98)%0d%0aHost: 192.168.48.143%0d%0aConnection: Keep-Alive%0d%0a] [HTTP/1.1 200 OK%0d%0aDate: Fri, 30 Jun 2000 23:23:58 GMT%0d%0aServer: Apache/1.3.12 (Unix) PHP/3.0.16%0d%0aX-Powered-By: PHP/3.0.16%0d%0aConnection: close%0d%0aContent-Type: text/html%0d%0a%0d]
962407438.907 7 192.168.40.13 TCP_MISS/200 617 GET http://192.168.48.143:8080/remote/r.js - DIRECT/192.168.48.143 text/html [Accept: */*%0d%0aReferer: http://192.168.48.143/index.html%0d%0aAccept-Language: en-us%0d%0aAccept-Encoding: gzip, deflate%0d%0aUser-Agent: Mozilla/4.0 (compatible%3b MSIE 5.01%3b Windows 98)%0d%0aHost: 192.168.48.143%0d%0aConnection: Keep-Alive%0d%0a] [HTTP/1.1 200 OK%0d%0aDate: Fri, 30 Jun 2000 23:23:58 GMT%0d%0aServer: Apache/1.3.12 (Unix) PHP/3.0.16%0d%0aX-Powered-By: PHP/3.0.16%0d%0aConnection: close%0d%0aContent-Type: text/html%0d%0a%0d]

hope this helps.

jack.

On Sat, Jul 01, 2000 at 01:12:38AM +0200, Henrik Nordstrom wrote:
> Enable log_mime_hdrs and send us two consequtive entries from cache.log,
> and we will try to answer your question on what is going on there.
>
> --
> Henrik Nordstrom
> Squid hacker
>
>
> Jack Moffitt wrote:
>
> > The problem is that squid ALWAYS logs a TCP_MISS and fetches a
> > fresh copy of the file. It seems odd, since it's static, it
> > hasn't changed, and no where in the headers is there a no-cache
> > directive or anything else that looks like it would prevent Squid
> > from caching the object properly.
Received on Fri Jun 30 2000 - 17:28:41 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:15 MST