Re: [squid-users] question on cacheability

From: thai <thai@dont-contact.us>
Date: Mon, 9 Jan 2006 11:59:41 +0300

Mark Elsen, thank you for your quick replying. I had checked this link
before i sent this message to our list and ... the script (at
http://www.ircache.net/cgi-bin/cacheability.py ) could not detect this page.
Here is its problem:
 <snip>
Cacheability: http://www3.thanhnien.com.vn/Kieubao/2006/1/2/134387.tno
This service makes extensive use of Cascading Style Sheets. Please enable
them or use a CSS-aware browser to get the most benefit from it.

The color of the list dot indicates the cacheability of the resource.

There has been a unrecoverable error.
It probably wasn't your fault, but the following may give you an idea of
what was happening when things went bad. Please mail this page to
errors@mnot.net

(version 1.30)

 Traceback (innermost last):
  File "/httpd/cgi-bin/cacheability.py", line 902, in cgi_wrap
    cgi_main()
  File "/httpd/cgi-bin/cacheability.py", line 847, in cgi_main
    f.fetch()
  File "/usr/local/lib/python1.5/site-packages/spider.py", line 279, in
fetch
    tmp.fetch()
  File "/usr/local/lib/python1.5/site-packages/spider.py", line 262, in
fetch
    self.parse_html()
  File "/usr/local/lib/python1.5/site-packages/spider.py", line 323, in
parse_html
    if tmp._hdrs.content_type[:5] != 'image':
  File "/usr/local/lib/python1.5/site-packages/httpheaders.py", line 111, in
__getattr__
    return self[replace(key, '_', '-')]
  File "/usr/local/lib/python1.5/site-packages/httpheaders.py", line 89, in
__getitem__
    return self.data[get_header_name(key)]
KeyError: Content-Type
<snip>As you can check, the link
http://www3.thanhnien.com.vn/Kieubao/2006/1/2/134387.tno is alive and its
content is cached by web-browser(Firefox, IE)Are there any ideas?>
http://www.ircache.net/cgi-bin/cacheability.py
>
> M.
>
Received on Mon Jan 09 2006 - 02:56:03 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:01 MST