[squid-users] ICAP response to avoid backend

Ed ed-squid-cache at s5h.net
Sun Feb 25 17:52:54 UTC 2024


On 2024-02-24 17:26+0000, Ed wrote:
> In varnish land this is doable in the vcl_miss hook, but I don't know 
> how to do that in squid.

I think I found a way, but maybe there's a better method - I'd like to 
the cache_peer_access to apply to all backends, but this does seem to do 
what I was after:

  acl bad_foo req_header ICAPHEADER -i foobar
  cache_peer_access server_1 deny bad_foo

Ed


More information about the squid-users mailing list