<div dir="ltr"><div class="gmail_quote">Hi,<br><br>I would like to know how to deactivate the "?" refresh_pattern filter ?<br>(As most web pages nowaday should use cache-control or expire, I guess the correct usage of headers should be enough to permit us to cache requests with "?" !?<br>Advice are welcome...)<br><br>For example for /cgi-bin/:<br>#refresh_pattern -i (/cgi-bin/)     0      0%        0<br>1626107114.552    812 192.168.14.224 TCP_MEM_HIT/200 1988993 GET <a href="https://test5vince.titi.com/cgi-bin/201.gif" target="_blank">https://test5vince.titi.com/cgi-bin/201.gif</a> - HIER_NONE/- image/gif<br><br>refresh_pattern -i (/cgi-bin/)     0      0%        0<br>1626107233.336   4729 192.168.14.224 TCP_REFRESH_UNMODIFIED_ABORTED/200 229496 GET <a href="https://test5vince.titi.com/cgi-bin/201.gif" target="_blank">https://test5vince.titi.com/cgi-bin/201.gif</a> - FIRSTUP_PARENT/<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> image/gif<br><br>But for \?:<br><span style="color:rgb(0,0,0);font-family:monospace">#refresh_pattern -i (/cgi-bin/|\?)     0   0%        0</span><br><span style="color:rgb(0,0,0);font-family:monospace">1626107559.200   6441 192.168.14.224 TCP_MISS/200 1988987 GET </span><a href="https://test5vince.titi.com/201.gif" target="_blank" style="font-family:monospace">https://test5vince.titi.com/201.gif</a><span style="color:rgb(0,0,0);font-family:monospace">? - FIRSTUP_PARENT/</span><a href="http://127.0.0.1" target="_blank" style="font-family:monospace">127.0.0.1</a><span style="color:rgb(0,0,0);font-family:monospace"> image/gif</span><br><font face="monospace"><br></font>Best regards<br>Vince  <br><br>PS:<br><span style="color:rgb(0,0,0);font-family:monospace">< HTTP/2 200  </span><br><span style="font-family:monospace">< server: nginx</span><br><span style="font-family:monospace">< date: Mon, 12 Jul 2021 16:42:31 GMT</span><br><span style="font-family:monospace">< content-type: image/gif</span><br><span style="font-family:monospace">< content-length: 1988458</span><br><span style="font-family:monospace">< last-modified: Mon, 12 Jul 2021 16:18:23 GMT</span><br><span style="font-family:monospace">< cache-control: max-age=1800</span><br><span style="font-family:monospace">< strict-transport-security: max-age=60; includeSubDomains</span><br><span style="font-family:monospace">< x-content-type-options: nosniff</span><br><span style="font-family:monospace">< x-frame-options: SAMEORIGIN</span><br><span style="font-family:monospace">< x-xss-protection: 1; mode=block</span><br><div><div><span style="font-family:monospace">< accept-ranges: bytes</span></div></div></div></div>