[squid-users] Bring refresh_pattern down to ~10sec?
Amos Jeffries
squid3 at treenet.co.nz
Sat Apr 25 02:00:13 UTC 2015
On 25/04/2015 1:57 a.m., Kristopher Linquist wrote:
> Thanks Amos.
>
>
>
>
> By “identical rest call” I mean a HTTP GET or POST to the same URL with the same data in the POST body of query string.
>
I was afraid of that. Then the answer is no its not possible.
Squid does not touch the body/payload of messages, meaning it has no
information about what is inside any given POST message payload.
>
> Looks like dstdomain acl along with miss_access could work - how do I adjust the timing to return a cached object if 2 requests happen within ~10sec?
>
Thats where the "fast" detail gets in the way. The closest you will get
in Squid is an external ACL helper ("slow" operation - ouch) being
passed the method and URL and returning OK/ERR about whether or not the
pair has been requested in the past N seconds.
Amos
More information about the squid-users
mailing list