<div>Hi All,</div><div><br></div><div>I have a website under varnish-2.1.5-1. I have a php page (test.php) which is kinda static and I can cache it for some time (5 mins). The URLs hitting this page are like the following due to which the varnish cache is MISSed and the apache webserver is being hit. How do I do a regex to overcome this? My trial config is mentioned in the end....</div>

<div><br></div><div>     1.00 TxURL          /test.php?id=219488&TabID=3&Res=2&dt=866845858823555200</div><div>     1.00 TxURL          /test.php?id=253114&TabID=3&Res=2&dt=846642321042837100</div>

<div>     1.00 TxURL          /test.php?id=104326&TabID=3&Res=2&dt=575570316149238400</div><div>     1.00 TxURL          /test.php?id=30946&TabID=3&Res=2&dt=109061349055833870</div><div>     1.00 TxURL          /test.php?id=109331&TabID=3&Res=2&dt=284968385895093150</div>

<div>     1.00 TxURL          /test.php?id=147630&TabID=3&Res=2&dt=182582005324904030</div><div>     1.00 TxURL          /test.php?id=226618&TabID=3&Res=2&dt=567666382104328500</div><div>     1.00 TxURL          /test.php?id=44438&TabID=3&Res=2&dt=894643067109792400</div>

<div>     1.00 TxURL          /test.php?id=219029&TabID=3&Res=2&dt=120583019713746690</div><div>     1.00 TxURL          /test.php?id=92700&TabID=3&Res=2&dt=812672457300415500</div><div>     1.00 TxURL          /test.php?id=244364&TabID=3&Res=2&dt=543154670573941800</div>

<div>     1.00 TxURL          /test.php?id=204543&TabID=3&Res=2&dt=108553982023531000</div><div>     1.00 TxURL          /test.php?id=155579&TabID=3&Res=2&dt=609157805933082500</div><div>     1.00 TxURL          /test.php?id=100248&TabID=3&Res=2&dt=329215175928002100</div>

<div>     1.00 TxURL          /test.php?id=155347&TabID=3&Res=2&dt=324280933690657500</div><div>     1.00 TxURL          /test.php?id=153167&TabID=3&Res=2&dt=262366359106033180</div><div>     1.00 TxURL          /test.php?id=175035&TabID=3&Res=2&dt=748310387497392400</div>

<div>     1.00 TxURL          /test.php?id=122942&TabID=3&Res=2&dt=89373125154077630</div><div>     1.00 TxURL          /test.php?id=157531&TabID=3&Res=2&dt=164945409132294180</div><div>     1.00 TxURL          /test.php?id=100248&TabID=3&Res=2&dt=381019014643790400</div>

<div>     1.00 TxURL          /test.php?id=103053&TabID=3&Res=2&dt=597790616600820500</div><div><br></div><div><br></div><div>vcl_recv</div><div><br></div><div><div> if (req.url ~ "\.phg(\?.*)?$") {</div>

<div>  return(lookup);}</div></div><div><br></div><div>Thanks.</div><div><br></div><div>--</div><div>Shib</div>