[squid-users] caching URL with parameter

From: Neise, Volker <Volker.Neise@dont-contact.us>
Date: Fri, 22 Oct 2004 14:01:28 +0200

Hello,
 
I am a newbie with squid and run into this problem:
 
SQUID is going to be our caching-server for another backend. During the setup and for the beginning, I observe squid's access_log to see wich pages are served out of the cache (e.g. status TCP_HIT) and which are served not out of the cache (e.g. status TCP_MISS). In general, this works fine. But ....
 
Some URLs are parameter-based like this: "scmcms/web/content.jsp?nodeId=2991&lang=en". In the squid-access-log the requests is logged with:
 
... TCP_MISS/200 23785 GET http://myserver/scmcms/web/content.jsp? - DIRECT/ ...
 
Thus, the browser-request for the URL seems to be not cached.
 
Telnet port 80 brings this this result:
 
>GET /scmcms/web/content.jsp?nodeId=2991&lang=en HTTP/1.0
>
>HTTP/1.0 200 OK
>Date: Fri, 22 Oct 2004 11:22:15 GMT
>Server: Apache
>Cache-Control: max-age=86400
>Expires: Sat, 23 Oct 2004 11:22:15 GMT
>Set-Cookie: JSESSIONID=9CAC4FCD9DBDAD40D5F983E747DB07E2; Path=/scmcms
>Content-Type: text/html;charset=UTF-8
>X-Cache: MISS from myserver
>Connection: close
>
><?xml version="1.0" encoding="UTF-8"?>
 
The strange thing is, that the telneted-request is not listed in squids access log.
 
Any idea what is wrong and how to cache the URLs ?
 
Your cooperation is welcome.
Mit freundlichen Grüßen, Volker Neise
Süd-Chemie AG, Munich
Corporate Information Management - Internet / Intranet
Tel. ++49-89-5110-428
Fax ++49-89-5110-71428
 
Received on Fri Oct 22 2004 - 06:03:25 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST