RE: TCP_MEM_HIT on CGI requests?

From: Dave J Woolley <DJW@dont-contact.us>
Date: Fri, 16 Jul 1999 17:12:28 +0100

> From: Evren Yurtesen [SMTP:yurtesen@ispro.net.tr]
>
> I thought squid was supposed to not to cache requests which includes
> cgi-bin or ? in the URL string ?
>
        The default is to cache them if they are cacheable,
        which most times they are not, but the comments
        recommend:

        # There is no default. We recommend you uncomment the
following
        # two lines.
        #quid.conf.default line 273/1892 16%
        #acl QUERY urlpath_regex cgi-bin \?%

> So what does the message below mean?
>
> 932149906.922 22 195.16.221.8 TCP_MEM_HIT/200 487 GET
> http://mail.ispro.net.tr/cgi-bin/mail.cgi? - NONE/- text/html
>
        The returned page was cacheable, but you didn't read
        the comments.

        This is only likely to be a problem if the CGI script
        returns a temporary redirect, but the server actually
        resolves that redirect into the actual page. CGI pages
        that are cacheable but not redirects are almost certainly
        supposed to be; in any case, any GET type access is
        potentially cacheable, although the HTTP drafts now make
        an exception because of past abuses.
Received on Fri Jul 16 1999 - 09:58:32 MDT

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