Re: Squid not Caching some Objects

From: Edward Henigin <[email protected]>
Date: Wed, 4 Sep 1996 09:22:38 -0500 (CDT)

On Tue, 3 Sep 1996, Mario Sergio Fujikawa Ferreira wrote:

> I try to access www.realaudio.com or www.timecast.com through the Squid Proxy Cache.
> The access.log logs all requests to the realaudio and timecast as TCP_MISS (right, they were not in the cache). However, all objects request through the proxy are logged in the access.log as "TCP_MISS 104" and are not cached.
> The log file in the spool cache directory do not records anything about realaudio and timecast objects, yet they are recorded as requested in the access.log file.

(ed) staff1:~$ telnet www.realaudio.com 80
Trying 204.71.154.34...
Connected to brinkley.realaudio.com.
Escape character is '^]'.
HEAD / HTTP/1.0

HTTP/1.0 200 OK
Server: Netscape-Commerce/1.12
Date: Wednesday, 04-Sep-96 14:07:52 GMT
Expires: Wed, 04 Sep 1996 07:09:32 -0800
Content-type: text/html

Connection closed by foreign host.
(ed) staff1:~$ date
Wed Sep 4 09:07:57 CDT 1996

        It appears as though realaudio wants you to cache (at least their
main homepage) only 1 hour (CDT is -0500 GMT).

        I've just compiled and install 1.0.12 on my system.. I'll see
what happens when I hit www.realaudio.com..

        hrmm... the same thing happens to me.

206.127.7.5 - - [04/Sep/1996:09:11:30 -0500] "GET http://www.realaudio.com/" TCP_MISS 8181
206.127.7.5 - - [04/Sep/1996:09:12:20 -0500] "GET http://www.realaudio.com/" TCP_MISS 8159

        (Note this is *not* the same browser, hitting reload. The first
hit was using MSIE, the second was the Netscape Navigator.)

        I don't see any 'meta' tags in the source that would indicate
an immediate expire, or any kind of no-cache...

        store.log has these entries:
841846290.004 RELEASE 200 0 [ 0s] 0/7914 http://www.realaudio.com/
841846340.506 RELEASE 200 0 [ 0s] 0/7892 http://www.realaudio.com/

        (store.log shows the same times of 0s for all the rest of the
objects that get loaded with that page, like all the gif's and jpg's.)

        hrmm.. if the HTTP/1.0 header shows a 1 hour expire time,
and I don't see anything in the body of the document that would indicate
that the document should not be cached, then how does squid determine
that the document shouldn't be cached? I must be missing something..
Someone smarter than me *educate* me, please! :)

        (btw, after browsing through store.log, it appears that other
objects are being cached normally.)
Received on Wed Sep 04 1996 - 07:24:32 MDT

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