Search squid archive

Re: refresh_pattern and "?"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I would like to know how to deactivate the "?" refresh_pattern filter ?
(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 "?" !?
Advice are welcome...)

For example for /cgi-bin/:
#refresh_pattern -i (/cgi-bin/)     0      0%        0
1626107114.552    812 192.168.14.224 TCP_MEM_HIT/200 1988993 GET https://test5vince.titi.com/cgi-bin/201.gif - HIER_NONE/- image/gif

refresh_pattern -i (/cgi-bin/)     0      0%        0
1626107233.336   4729 192.168.14.224 TCP_REFRESH_UNMODIFIED_ABORTED/200 229496 GET https://test5vince.titi.com/cgi-bin/201.gif - FIRSTUP_PARENT/127.0.0.1 image/gif

But for \?:
#refresh_pattern -i (/cgi-bin/|\?)     0   0%        0
1626107559.200   6441 192.168.14.224 TCP_MISS/200 1988987 GET https://test5vince.titi.com/201.gif? - FIRSTUP_PARENT/127.0.0.1 image/gif

Best regards
Vince  

PS:
< HTTP/2 200  
< server: nginx
< date: Mon, 12 Jul 2021 16:42:31 GMT
< content-type: image/gif
< content-length: 1988458
< last-modified: Mon, 12 Jul 2021 16:18:23 GMT
< cache-control: max-age=1800
< strict-transport-security: max-age=60; includeSubDomains
< x-content-type-options: nosniff
< x-frame-options: SAMEORIGIN
< x-xss-protection: 1; mode=block
< accept-ranges: bytes
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux