<span id="mailbox-conversation"><div>Thanks Amos.</div>
<div><br></div>
<div>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.</div>
<div><br></div>
<div>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?</div>
<div><br></div>
<div>Thanks!</div>
<div>-Kris</div></span><div class="mailbox_signature"><br></div>
<br><br><div class="gmail_quote"><p>On Thu, Apr 23, 2015 at 9:06 PM, Amos Jeffries <span dir="ltr"><<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>></span> wrote:<br></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><p>On 24/04/2015 2:46 p.m., Kristopher Linquist wrote:<br>> Hi,<br>> <br>> <br>> I’m using squid to throttle outgoing API calls to various services.<br>> <br>> <br>> I’ve got Squid working with ssl_bump and currently caching any request more often than 15 minutes with this line:<br>> <br>> <br>> refresh_pattern .              15      20%     4320 override-expire ignore-reload<br>> <br>> <br>> 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.  <br>> <br>> <br>> Is there any way to accomplish this?<br><br>Depends on what you mean by "identical REST call".<br><br>There is the miss_access control, but it only allows "fast" ACLs.<br><br>Amos<br><br>_______________________________________________<br>squid-users mailing list<br>squid-users@lists.squid-cache.org<br>http://lists.squid-cache.org/listinfo/squid-users<br></p></blockquote></div><br>