Re: [squid-users] icap result caching in squid

2019-12-05 Thread Darren Breeze
Hi Amos I have done some digging into your suggestion, and it looks like a better way to go for what I need to do. > Also, are you aware that current Squid versions can generate redirects > (custom headers included) based on output from an external_acl_type helper? > A helper to lookup your per

Re: [squid-users] icap result caching in squid

2019-12-04 Thread Darren Breeze
Thanks Amos The Icap also does url filtering so it's a one stop shop for everything. I have to stay with V3.5 for the moment but will move up to 4.x later and re-examine my approach based on the newer features available. Cache-Control is much cleaner and it actually is named as per what I want

Re: [squid-users] icap result caching in squid

2019-12-03 Thread Amos Jeffries
On 4/12/19 6:05 am, Darren Breeze wrote: > Hi Amos > > The Icap service is doing redirects based on client permissions (that may > change). What I am doing is just setting the Expires value in the RESP_MOD > response when I return a 307 redirect so I can control how long the caches > (both Squi

Re: [squid-users] icap result caching in squid

2019-12-03 Thread Darren Breeze
Hi Amos The Icap service is doing redirects based on client permissions (that may change). What I am doing is just setting the Expires value in the RESP_MOD response when I return a 307 redirect so I can control how long the caches (both Squid and the browser) hang on to it. Darren B. O

Re: [squid-users] icap result caching in squid

2019-12-02 Thread Amos Jeffries
On 3/12/19 12:17 pm, Darren Breeze wrote: > Thanks Alex. > > That has given me the perspective I need. > > I can modulate the response header Expires value via icap to get the job done > when squid goes to cache it. > Why are you needing to do this at all? NP: please be aware that the changes

Re: [squid-users] icap result caching in squid

2019-12-02 Thread Darren Breeze
Thanks Alex. That has given me the perspective I need. I can modulate the response header Expires value via icap to get the job done when squid goes to cache it. Darren B. *Darren Breeze* Director *KSN Systems NZ Limited* **E: *dar...@ksn-systems.com* **M:* +64 274 666 017* **S:* dbinhk* On

Re: [squid-users] icap result caching in squid

2019-11-30 Thread Alex Rousskov
On 11/29/19 12:20 PM, Darren Breeze wrote: > Some quick question about icap result caching in squid. > > Does the returned Expires header control how long squid will cache the > result (for both a req and resp mod)? > > Are the values that are cached keyed to the queried URL or is it cached > pe

[squid-users] icap result caching in squid

2019-11-29 Thread Darren Breeze
Hi all. Some quick question about icap result caching in squid. Does the returned Expires header control how long squid will cache the result (for both a req and resp mod)? Are the values that are cached keyed to the queried URL or is it cached per user / url? thanks Darren B. This em