Search squid archive

Re: Bring refresh_pattern down to ~10sec?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users


_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux