Re: [squid-users] refresh_pattern and "?"

2021-07-14 Thread squid3
On 2021-07-15 07:48, Vincent Tamet wrote: You are totally right ! The problem was on my side with the acl regular expression used to choose extensions to be cached: acl images url_regex -i \.(bmp|gif|ico|jpeg|jpg|png|svg|tif|tiff|webp)$ $ was not matching for '?query-string' For this usage my

Re: [squid-users] Sharing info from eCAP adapter with other adapters

2021-07-14 Thread squid3
On 2021-07-15 09:11, Moti Berger wrote: Meaning, it indeed added the X-My-Header as ICAP header for the benefit of the ICAP server on the chain but it seems the value is just a dot. What am I doing wrong? This is best asked via the libecap help channels (see below). BTW, I'm struggling to f

[squid-users] Sharing info from eCAP adapter with other adapters

2021-07-14 Thread Moti Berger
Hi I have an env with Squid 4 with several ICAPs. In this env, I set in squid.conf the following: adaptation_masterx_shared_names X-My-Header > and I add an ICAP header X-My-Header with some data in one ICAP and next ICAPs can use it (I also see it in tcpdump output). Now I'm writing an eCAP an

Re: [squid-users] refresh_pattern and "?"

2021-07-14 Thread Vincent Tamet
You are totally right ! The problem was on my side with the acl regular expression used to choose extensions to be cached: acl images url_regex -i \.(bmp|gif|ico|jpeg|jpg|png|svg|tif|tiff|webp)$ $ was not matching for '?query-string' * Your answer helps me to find my error. * And I am now thinking