refresh_pattern not working?

From: Phil Oester <kernel_at_linuxace.com>
Date: Thu, 7 Jul 2011 12:13:26 -0700

Running 3.1.12.2 here. I have the standard refresh_pattern in my config:

refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320

yet URLs with '?' in them are still being cached. Example:

# wget -S 'http://ecn.t3.tiles.virtualearth.net/tiles/r023113.png?g=671&mkt=en-us'
--2011-07-07 14:45:01-- http://ecn.t3.tiles.virtualearth.net/tiles/r023113.png?g=671&mkt=en-us
Resolving ecn.t3.tiles.virtualearth.net... 70.37.129.118, 70.37.129.107
Connecting to ecn.t3.tiles.virtualearth.net|70.37.129.118|:80... connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Cache-Control: public, max-age=31536000
  Content-Length: 23731
  Content-Type: image/png
  ETag: "667"
  Server: Microsoft-IIS/7.5
  X-VE-TFE: CH10061818
  X-VE-TILEMETA-CaptureDatesRange: 4/1/2010-4/1/2010
  X-VE-TILEMETA-Product-IDs: 32
  X-VE-TBE: CH10061625
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Date: Fri, 20 May 2011 16:23:39 GMT
  Last-Modified: Thu, 10 Mar 2011 06:30:07 GMT
  Expires: Thu, 17 May 2012 17:09:08 GMT
  Age: 4325753
  Warning: 113 XXX (squid) This cache hit is still fresh and more than 1 day old
  X-Cache: HIT from XXX
  X-Cache-Lookup: HIT from XXX:85
  Via: 1.1 XXX (squid)
  Connection: keep-alive
Length: 23731 (23K) [image/png]
Saving to: "r023113.png?g=671&mkt=en-us"

Is the regex code in refresh_pattern broken?

Phil
Received on Thu Jul 07 2011 - 20:19:33 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 08 2011 - 12:00:03 MDT