This is a dynamic page and does not have any expiry information. Because of this it won't be cached by Squid unless you force Squid to via the refresh_pattern directive.
Regards Henrik On Wed, 12 Nov 2003, Tong Sun wrote: > Thanks Henrik for the input. > > I've changed the following in /etc/squid/squid.conf > > #hierarchy_stoplist cgi-bin #? > hierarchy_stoplist > > #acl QUERY urlpath_regex cgi-bin #\? > acl QUERY urlpath_regex nouse > no_cache deny QUERY > > refresh_pattern . 0 20% 4320 override-expire > > Then I test squid from my local server instead of google. Here is the result: > > date -u; client -v http://localhost/cgi-bin/svr_probe/sh-cgi-env.cgi > > Wed Nov 12 17:12:02 UTC 2003 > headers: 'GET http://localhost/cgi-bin/svr_probe/sh-cgi-env.cgi HTTP/1.0 > Accept: */* > > ' > HTTP/1.0 200 OK > Date: Wed, 12 Nov 2003 17:12:02 GMT > Server: Apache/2.0.40 (Red Hat Linux) > Content-Type: text/html; charset=ISO-8859-1 > X-Cache: MISS from xpt > Proxy-Connection: close > > <pre> > CGI/1.0 test script report: > > [...] > > But it is still not cached according to store.log. > > How can I make it works? thanks > > >
