[squid-users] Bring refresh_pattern down to ~10sec?
Kristopher Linquist
kris at linquist.net
Fri Apr 24 13:57:00 UTC 2015
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.
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?
Thanks!
-Kris
On Thu, Apr 23, 2015 at 9:06 PM, Amos Jeffries <squid3 at treenet.co.nz>
wrote:
> On 24/04/2015 2:46 p.m., Kristopher Linquist wrote:
>> Hi,
>>
>>
>> I’m using squid to throttle outgoing API calls to various services.
>>
>>
>> I’ve got Squid working with ssl_bump and currently caching any request more often than 15 minutes with this line:
>>
>>
>> refresh_pattern . 15 20% 4320 override-expire ignore-reload
>>
>>
>> I’m interested in making sure I can’t send an identical REST call to twilio(text message service) more often than every 10 seconds.
>>
>>
>> Is there any way to accomplish this?
> Depends on what you mean by "identical REST call".
> There is the miss_access control, but it only allows "fast" ACLs.
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150424/308a56e6/attachment-0001.html>
More information about the squid-users
mailing list