Re: cache not cacheing

From: Daniel Harrison <D.Harrison@dont-contact.us>
Date: Wed, 20 Aug 1997 16:40:54 -0500

On Aug 18, 9:41am, Redfern Ian wrote:
> Subject: RE: cache not cacheing
> What is the URL for which you get this problem - it might not be sending
> Last-Modified headers.
>
> If inside your firewall, do the foillowing:
>
> telnet <hostname> 80
> HEAD /path/to/url HTTP/1.0
> [Press return twice]
>
> and then post the headers you receive. If it's a server-side include,
> active server page, CGI program or something content-negotiated, it
> won't give you any useful headers.
>
> Ian Redfern (redferni@logica.com).
>-- End of excerpt from Redfern Ian

Ok just about every page I visited did not give useful headers. I now
understand why squid is not getting Last-Modified headers (none to get).

Am I correct in the assumption that I am relying on Is-Modified-Since check to
keep these pages in the cache. A look in the source shows that it sets the
result to TCP_REFRESH_MISS, I assume a call to IMSGet should change this to
TCP_REFRESH_HIT?

On Aug 18, 8:06pm, Jonathan Larmour wrote:
>
> Can you actually send us a portion of your access.log file?

I have attached an access.log and store.log. It a little contrived (I visited a
bunch of sites twice), as you can see most resulted in TCP_REFRESH_MISS
responses. What gives?

-daniel

-- 
Daniel Harrison				Ph. (02) 9351 5519
Network Administrator			D.Harrison@isu.usyd.edu.au.
Sydney University			Bld H08, Sydney
Confidence is the feeling you have before you understand the situation.

872030726.707 631 129.78.234.21 ERR_CLIENT_ABORT/400 0 GET http://www.infoseek.com/ - NONE/- -
872035814.515 4017 129.78.234.21 ERR_CLIENT_ABORT/000 0 GET http://home.netscape.com/home/internet-search.html - TIMEOUT_FIRST_UP_PARENT/www-cache.usyd.edu.au -
872035877.319 5 129.78.234.21 ERR_DNS_FAIL/400 925 GET http://hanson.strathfield.nsw.edu.au/ - NONE/- -
872036148.109 62 129.78.234.21 ERR_CLIENT_ABORT/400 0 GET http://www.infoseek.com/ - NONE/- -
872036209.445 22 129.78.234.21 ERR_CLIENT_ABORT/400 0 GET http://www.hotmail.com/ - NONE/- -
872036325.289 55544 129.78.234.21 ERR_CLIENT_ABORT/000 0 GET http://home.netscape.com/home/internet-search.html - TIMEOUT_SINGLE_PARENT/www-cache2.usyd.edu.au -
872036386.981 417 129.78.234.21 ERR_CLIENT_ABORT/400 0 GET http://home.netscape.com/home/internet-search.html - NONE/- -
872040681.895 7 129.78.234.21 TCP_REF_FAIL_HIT/200 1807 GET http://home.netscape.com/home/internet-search.html - NO_DIRECT_FAIL/home.netscape.com text/html
872056094.042 3234 203.55.2.1 TCP_REFRESH_MISS/200 7500 GET http://www.usyd.edu.au/ - DIRECT/www.usyd.edu.au text/html
872056108.296 2327 203.55.2.1 TCP_REFRESH_MISS/200 3697 GET http://www.usyd.edu.au/homepage/info.html - DIRECT/www.usyd.edu.au text/html
872056166.603 44213 203.55.2.1 TCP_REFRESH_MISS/200 17858 GET http://www.netscape.com/ - FIRST_PARENT_MISS/www-cache.usyd.edu.au text/html
872056225.515 26387 203.55.2.1 TCP_MISS/200 3651 GET http://www.netscape.com/flash1/comprod/products/communicator/product_family/overview_frameset.html - FIRST_PARENT_MISS/www-cache.usyd.edu.au text/html
872056273.250 28366 203.55.2.1 TCP_REFRESH_MISS/200 2886 GET http://www.lycos.com/ - FIRST_PARENT_MISS/www-cache.usyd.edu.au text/html
872056295.299 1340 203.55.2.1 TCP_REFRESH_MISS/301 380 GET http://www-personal.usyd.edu.au/~harro - DIRECT/www-personal.usyd.edu.au text/html
872056298.532 2231 203.55.2.1 TCP_REFRESH_MISS/200 3511 GET http://www-personal.usyd.edu.au/~harro/ - DIRECT/www-personal.usyd.edu.au text/html
872056326.054 1544 203.55.2.1 TCP_MISS/404 292 GET http://www-personal.usyd.edu.au/~1234 - DIRECT/www-personal.usyd.edu.au text/html
872056341.881 2925 203.55.2.1 TCP_REFRESH_MISS/200 7500 GET http://www.usyd.edu.au/ - DIRECT/www.usyd.edu.au text/html
872056350.122 2447 203.55.2.1 TCP_REFRESH_MISS/200 3697 GET http://www.usyd.edu.au/homepage/info.html - DIRECT/www.usyd.edu.au text/html
872056402.822 43656 203.55.2.1 TCP_REFRESH_MISS/200 17858 GET http://www.netscape.com/ - FIRST_PARENT_MISS/www-cache.usyd.edu.au text/html
872056430.075 19722 203.55.2.1 TCP_REFRESH_MISS/200 3651 GET http://www.netscape.com/flash1/comprod/products/communicator/product_family/overview_frameset.html - FIRST_PARENT_MISS/www-cache.usyd.edu.au text/html
872056458.162 19020 203.55.2.1 TCP_REFRESH_MISS/200 2884 GET http://www.lycos.com/ - FIRST_PARENT_MISS/www-cache.usyd.edu.au text/html
872056471.614 1028 203.55.2.1 TCP_REFRESH_MISS/301 380 GET http://www-personal.usyd.edu.au/~harro - DIRECT/www-personal.usyd.edu.au text/html
872056476.453 3843 203.55.2.1 TCP_REFRESH_MISS/200 3511 GET http://www-personal.usyd.edu.au/~harro/ - DIRECT/www-personal.usyd.edu.au text/html
872056492.417 2 203.55.2.1 TCP_HIT/404 292 GET http://www-personal.usyd.edu.au/~1234 - NONE/- text/html
872056513.882 3196 203.55.2.1 TCP_MISS/200 7500 GET http://www.usyd.edu.au/Welcome.html - DIRECT/www.usyd.edu.au text/html

872030726.136 SWAPIN 200 -2 -2 871951405 text/html 12124/12124 GET http://www.infoseek.com/
872030726.707 RELEASE 400 -2 -2 -2 unknown 0/805 GET http://www.infoseek.com/
872035817.305 RELEASE 400 -2 -2 -2 unknown 0/910 GET http://home.netscape.com/home/internet-search.html
872036148.109 RELEASE 400 -2 -2 -2 unknown 0/805 GET http://www.infoseek.com/
872036209.445 RELEASE 400 -2 -2 -2 unknown 0/803 GET http://www.hotmail.com/
872036386.981 RELEASE 400 -2 -2 -2 unknown 0/857 GET http://home.netscape.com/home/internet-search.html
872036391.018 RELEASE 400 -2 -2 -2 unknown 0/917 GET http://home.netscape.com/home/internet-search.html
872041145.308 RELEASE 400 -2 -2 -2 unknown 0/925 GET http://hanson.strathfield.nsw.edu.au/
872046607.018 RELEASE 400 -2 -2 -2 unknown 0/1019 GET http://home.netscape.com/home/internet-search.html
872056090.894 SWAPIN 200 871954542 -2 -2 text/html 0/7385 GET http://www.usyd.edu.au/
872056091.654 RELEASE 200 871954542 -2 -2 text/html 0/7385 GET http://www.usyd.edu.au/
872056094.042 SWAPOUT 200 872056030 -2 -2 text/html 0/7385 GET http://www.usyd.edu.au/
872056105.986 SWAPIN 200 871376348 -2 -2 text/html 0/3582 GET http://www.usyd.edu.au/homepage/info.html
872056106.638 RELEASE 200 871376348 -2 -2 text/html 0/3582 GET http://www.usyd.edu.au/homepage/info.html
872056108.296 SWAPOUT 200 872056045 -2 -2 text/html 0/3582 GET http://www.usyd.edu.au/homepage/info.html
872056122.481 SWAPIN 200 871953329 -2 -2 text/html 0/17669 GET http://www.netscape.com/
872056150.986 RELEASE 200 871953329 -2 -2 text/html 0/17669 GET http://www.netscape.com/
872056166.605 SWAPOUT 200 872055401 -2 -2 text/html 0/17743 GET http://www.netscape.com/
872056225.515 SWAPOUT 200 872055475 -2 -2 text/html 0/3536 GET http://www.netscape.com/flash1/comprod/products/communicator/product_family/overview_frameset.html
872056244.910 SWAPIN 200 871889730 -2 -2 text/html 0/2785 GET http://www.lycos.com/
872056272.655 RELEASE 200 871889730 -2 -2 text/html 0/2785 GET http://www.lycos.com/
872056273.250 SWAPOUT 200 872056203 -2 -2 text/html 0/2741 GET http://www.lycos.com/
872056294.006 SWAPIN 301 871954555 -2 -2 text/html 0/192 GET http://www-personal.usyd.edu.au/~harro
872056295.281 RELEASE 301 871954555 -2 -2 text/html 0/192 GET http://www-personal.usyd.edu.au/~harro
872056295.299 SWAPOUT 301 872056233 -2 -2 text/html 0/192 GET http://www-personal.usyd.edu.au/~harro
872056296.329 SWAPIN 200 871954558 -2 -2 text/html 0/3401 GET http://www-personal.usyd.edu.au/~harro/
872056297.748 RELEASE 200 871954558 -2 -2 text/html 0/3401 GET http://www-personal.usyd.edu.au/~harro/
872056298.532 SWAPOUT 200 872056235 -2 -2 text/html 0/3389 GET http://www-personal.usyd.edu.au/~harro/
872056339.558 RELEASE 200 872056030 -2 -2 text/html 0/7385 GET http://www.usyd.edu.au/
872056341.881 SWAPOUT 200 872056277 -2 -2 text/html 0/7385 GET http://www.usyd.edu.au/
872056348.328 RELEASE 200 872056045 -2 -2 text/html 0/3582 GET http://www.usyd.edu.au/homepage/info.html
872056350.122 SWAPOUT 200 872056286 -2 -2 text/html 0/3582 GET http://www.usyd.edu.au/homepage/info.html
872056390.130 RELEASE 200 872055401 -2 -2 text/html 0/17743 GET http://www.netscape.com/
872056402.824 SWAPOUT 200 872055641 -2 -2 text/html 0/17743 GET http://www.netscape.com/
872056429.332 RELEASE 200 872055475 -2 -2 text/html 0/3536 GET http://www.netscape.com/flash1/comprod/products/communicator/product_family/overview_frameset.html
872056430.075 SWAPOUT 200 872055680 -2 -2 text/html 0/3536 GET http://www.netscape.com/flash1/comprod/products/communicator/product_family/overview_frameset.html
872056455.777 RELEASE 200 872056203 -2 -2 text/html 0/2741 GET http://www.lycos.com/
872056458.162 SWAPOUT 200 872056388 -2 -2 text/html 0/2739 GET http://www.lycos.com/
872056471.603 RELEASE 301 872056233 -2 -2 text/html 0/192 GET http://www-personal.usyd.edu.au/~harro
872056471.614 SWAPOUT 301 872056409 -2 -2 text/html 0/192 GET http://www-personal.usyd.edu.au/~harro
872056475.714 RELEASE 200 872056235 -2 -2 text/html 0/3389 GET http://www-personal.usyd.edu.au/~harro/
872056476.453 SWAPOUT 200 872056411 -2 -2 text/html 0/3389 GET http://www-personal.usyd.edu.au/~harro/
872056513.882 SWAPOUT 200 872056449 -2 -2 text/html 0/7385 GET http://www.usyd.edu.au/Welcome.html
Received on Tue Aug 19 1997 - 23:47:54 MDT

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