FW: [squid-users] accelerator override caching of dynamic pages Hi, Sorry for reposting but does anybody have any ideas on the email below before I dive into the source and try to over-ride the http headers manually to suit my needs?
thanks again, Charlie -----Original Message----- From: Charlie Schofield [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 13:43 To: [EMAIL PROTECTED] Subject: [squid-users] accelerator override caching of dynamic pages Hi everybody, I am trying to use squid in accelerator mode to cache frequently requested pages with query strings. I realise that the headers of the pages do not pass the cachability tests but I want to override them as I know the frequency with which these pages will change and I need to reduce load on our web servers. The various setup and log files are below. Can anybody help me to override the settings from the web server so that I stop getting TCP_MISS? Unfortunately I cannot change the headers on the web server. thanks in advance, Charlie Schofield I have set the following in squid.conf: acl QUERY urlpath_regex \? no_cache allow QUERY refresh_pattern \? 60 50% 4320 ignore-reload override-expire override-lastmod reload-into-ims as a test to try and catch everything with a query string for 60 mins access log always comes up with a TCP_MISS 1065004636.275 70 127.0.0.1 TCP_MISS/200 4319 GET http://webserverurl/xml/nav/nav2.jhtml? - DIRECT/136.121.243.198 text/xml The headers are as follows: GET http://localhost:3128/xml/nav/nav2.jhtml?styleSheet=/css/h_home.css&ie=true&cached=&xmlpath=/xml/nav/nav2.jhtml&activenav=& HTTP/1.0 Accept-Language: en-gb Pragma: no-cache Accept: */* Host: localhost:3128 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322) Cookie: JSESSIONID=NDK5KIJ1GUE2RQFIAIISFE4AVABQKIV0 Proxy-Connection: Keep-Alive HTTP/1.0 200 OK Expires: Fri, 30 Oct 1998 14:19:41 GMT Pragma: no-cache Cache-Control: no-cache Content-Type: text/xml; charset=UTF-8 Connection: close Set-Cookie: JSESSIONID=M2YU1IZQTY4HRQFIAIISFE4AVABQKIV0; path=/ Date: Wed, 01 Oct 2003 10:37:26 GMT Server: Apache/1.3.27 (Unix) X-Cache: MISS from k03349 Content-Length: 3978 *************************************************************************** CONFIDENTIALITY NOTICE The contents of this e-mail are confidential to the ordinary user of the e-mail address to which it was addressed, and may also be privileged. If you are not the addressee of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever.If you have received this e-mail in error, please e-mail the sender by replying to this message. It is your responsibility to carry out appropriate virus and other checks to ensure that this message and any attachments do not affect your systems / data. Any views or opinions expressed in this e-mail are solely those of the author and do not necessarily represent those of MTV Networks Europe unless specifically stated, nor does this message form any part of any contract unless so stated. MTV reserves the right to monitor e-mail communications from external/internal sources for the purposes of ensuring correct and appropriate use of MTV communication equipment. MTV Networks Europe ***************************************************************************
