Re: [Rabbit-proxy-users] Empty files in cache
Brought to you by:
ernimril
From: Micah S. <mi...@cn...> - 2003-02-07 21:07:47
|
> > Can you enable HTTPSnoop and capture some requests and responses? I forgot to put it in httpoutfilters, below is more info (long). This time, I had trouble in Netscape, too! I'm about to blame Apache, but I've never had anything like this happen without the proxy, and even when going through the proxy, adding noproxy in front of the hostname always works. Here's the HTTPSnoop output: Mozilla for http://www.tco.net/ without the page in cache: GET http://www.tco.net/ HTTP/1.1 Host: www.tco.net User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.2.1) Gecko/20021221 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 Accept-Language: en-us, en;q=0.50 Accept-Encoding: gzip, deflate, compress;q=0.9 Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66 Via: HTTP/1.1 RabbIT GET http://www.tco.net/ HTTP/1.1 HTTP/1.1 200 OK Date: Fri, 07 Feb 2003 20:19:24 GMT Server: Apache/1.3.26 Ben-SSL/1.48 (Unix) Debian GNU/Linux PHP/4.1.2 ETag: "42801f-2313-3d1bf524" Via: HTTP/1.1 RabbIT Content-Length: 0 Age: 1925 Mozilla for http://www.tco.net/ with the page in cache: GET http://www.tco.net/ HTTP/1.1 Host: www.tco.net User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.2.1) Gecko/20021221 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 Accept-Language: en-us, en;q=0.50 Accept-Encoding: gzip, deflate, compress;q=0.9 Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66 If-None-Match: "42801f-2313-3d1bf524" Cache-Control: max-age=0 Via: HTTP/1.1 RabbIT GET http://www.tco.net/ HTTP/1.1 HTTP/1.1 304 Not Modified Date: Fri, 07 Feb 2003 20:19:24 GMT Server: Apache/1.3.26 Ben-SSL/1.48 (Unix) Debian GNU/Linux PHP/4.1.2 ETag: "42801f-2313-3d1bf524" Via: HTTP/1.1 RabbIT Mozilla for http://adios.tco.net/ without the page in cache: GET http://adios.tco.net/ HTTP/1.1 Host: adios.tco.net User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.2.1) Gecko/20021221 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 Accept-Language: en-us, en;q=0.50 Accept-Encoding: gzip, deflate, compress;q=0.9 Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66 Via: HTTP/1.1 RabbIT GET http://adios.tco.net/ HTTP/1.1 HTTP/1.1 200 OK Date: Fri, 07 Feb 2003 20:04:46 GMT Server: Apache/1.3.26 Ben-SSL/1.48 (Unix) Debian GNU/Linux PHP/4.1.2 Last-Modified: Fri, 28 Jun 2002 05:33:24 GMT ETag: "42801f-2313-3d1bf524" Accept-Ranges: bytes Content-Type: text/html; charset=iso-8859-1 Via: HTTP/1.1 RabbIT Content-Encoding: gzip Content-Length: 2603 Age: 1765 Mozilla for http://adios.tco.net with the page in cache: GET http://adios.tco.net/ HTTP/1.1 Host: adios.tco.net User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.2.1) Gecko/20021221 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1 Accept-Language: en-us, en;q=0.50 Accept-Encoding: gzip, deflate, compress;q=0.9 Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66 If-Modified-Since: Fri, 28 Jun 2002 05:33:24 GMT If-None-Match: "42801f-2313-3d1bf524" Cache-Control: max-age=0 Via: HTTP/1.1 RabbIT GET http://adios.tco.net/ HTTP/1.1 HTTP/1.1 304 Not Modified Date: Fri, 07 Feb 2003 20:28:19 GMT Server: Apache/1.3.26 Ben-SSL/1.48 (Unix) Debian GNU/Linux PHP/4.1.2 ETag: "42801f-2313-3d1bf524" Via: HTTP/1.1 RabbIT Netscape for http://www.tco.net/ without the page in cache: GET http://www.tco.net/ HTTP/1.1 User-Agent: Mozilla/4.79 [en] (X11; U; Linux 2.4.18 i386; Nav) Host: www.tco.net Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* Accept-Encoding: gzip Accept-Language: en Accept-Charset: iso-8859-1,*,utf-8 Via: HTTP/1.0 RabbIT GET http://www.tco.net/ HTTP/1.0 HTTP/1.1 200 OK Date: Fri, 07 Feb 2003 20:19:24 GMT Server: Apache/1.3.26 Ben-SSL/1.48 (Unix) Debian GNU/Linux PHP/4.1.2 ETag: "42801f-2313-3d1bf524" Via: HTTP/1.1 RabbIT Content-Length: 0 Age: 4048 Netscape doesn't appear to cache empty pages, so it looks the same on hitting reload. Here's Netscape for http://adios.tco.net/ without the page in cache: GET http://adios.tco.net/ HTTP/1.1 User-Agent: Mozilla/4.79 [en] (X11; U; Linux 2.4.18 i386; Nav) Host: adios.tco.net Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* Accept-Encoding: gzip Accept-Language: en Accept-Charset: iso-8859-1,*,utf-8 Via: HTTP/1.0 RabbIT GET http://adios.tco.net/ HTTP/1.0 HTTP/1.1 200 OK Date: Fri, 07 Feb 2003 20:28:19 GMT Server: Apache/1.3.26 Ben-SSL/1.48 (Unix) Debian GNU/Linux PHP/4.1.2 Last-Modified: Fri, 28 Jun 2002 05:33:24 GMT ETag: "42801f-2313-3d1bf524" Accept-Ranges: bytes Content-Type: text/html; charset=iso-8859-1 Via: HTTP/1.1 RabbIT Content-Encoding: gzip Content-Length: 2603 Age: 4483 And striking reload looks just the same. Here's IE on http://www.tco.net/ without the page in cache: GET http://www.tco.net/ HTTP/1.1 Accept: */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 95) Host: www.tco.net Pragma: no-cache Via: HTTP/1.1 RabbIT GET http://www.tco.net/ HTTP/1.1 HTTP/1.1 200 OK Date: Fri, 07 Feb 2003 20:45:14 GMT Server: Apache/1.3.26 Ben-SSL/1.48 (Unix) Debian GNU/Linux PHP/4.1.2 Last-Modified: Fri, 28 Jun 2002 05:33:24 GMT ETag: "42801f-2313-3d1bf524" Accept-Ranges: bytes Content-Length: 8979 Content-Type: text/html; charset=iso-8859-1 Via: HTTP/1.1 RabbIT And striking reload: GET http://www.tco.net/ HTTP/1.1 Accept: */* Accept-Language: en-us Accept-Encoding: gzip, deflate If-Modified-Since: Fri, 28 Jun 2002 05:33:24 GMT If-None-Match: "42801f-2313-3d1bf524" User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 95) Host: www.tco.net Pragma: no-cache Via: HTTP/1.1 RabbIT GET http://www.tco.net/ HTTP/1.1 HTTP/1.1 304 Not Modified Date: Fri, 07 Feb 2003 20:46:28 GMT Server: Apache/1.3.26 Ben-SSL/1.48 (Unix) Debian GNU/Linux PHP/4.1.2 ETag: "42801f-2313-3d1bf524" Via: HTTP/1.1 RabbIT |