Re: [squid-users] Queue incoming requests when fetching from origin

2016-06-20 Thread Jaap Dam
On > Behalf Of Alex Rousskov > Sent: Friday, June 17, 2016 6:22 PM > To: Jaap Dam > Cc: squid-users@lists.squid-cache.org > Subject: Re: [squid-users] Queue incoming requests when fetching from > origin > > On 06/17/2016 05:33 AM, Jaap Dam wrote: > > > From what I

Re: [squid-users] Queue incoming requests when fetching from origin

2016-06-18 Thread Eliezer Croitoru
-cache.org Subject: Re: [squid-users] Queue incoming requests when fetching from origin On 06/17/2016 05:33 AM, Jaap Dam wrote: > From what I > understand, re-validation is useful when done with If-Modified-Since > or If-None-Match. To revalidate stale objects, Squid uses conditional reques

Re: [squid-users] Queue incoming requests when fetching from origin

2016-06-17 Thread Alex Rousskov
On 06/17/2016 05:33 AM, Jaap Dam wrote: > From what I > understand, re-validation is useful when done with If-Modified-Since or > If-None-Match. To revalidate stale objects, Squid uses conditional requests. That is not the only way to revalidate, but that is what Squid does. > However my respon

Re: [squid-users] Queue incoming requests when fetching from origin

2016-06-17 Thread Jaap Dam
Hi Alex, Thank you very much for your detailed explanation! >From your explanation I would assume that my problem could be solved if the re-validation would be treated as a pure miss. From what I understand, re-validation is useful when done with If-Modified-Since or If-None-Match. However my res

Re: [squid-users] Queue incoming requests when fetching from origin

2016-06-16 Thread Alex Rousskov
On 06/16/2016 01:45 AM, Jaap Dam wrote: > Thanks for the information. Could you elaborate on when collapsed > forwarding does apply? Squid is currently able to collapse HTTP client [miss] requests (but not internally generated HTTP requests triggered by HTTP client requests). Furthermore, to be c

Re: [squid-users] Queue incoming requests when fetching from origin

2016-06-16 Thread Jaap Dam
Hi Alex, Thanks for the information. Could you elaborate on when collapsed forwarding does apply? With your extra information, my assumption would be that it only applies on requests of a resource that has never been cached before. Or does it make more sense in a distributed Squid setup? Not sure

Re: [squid-users] Queue incoming requests when fetching from origin

2016-06-15 Thread Alex Rousskov
On 06/14/2016 02:51 AM, Jaap Dam wrote: > I've part of the logging as an attachment. I'm requesting a single URL > in this log. The log starts with a stale cache of the item. Collapsed forwarding does not apply to cache revalidation requests yet. Factory is working on implementing collapsed reva

Re: [squid-users] Queue incoming requests when fetching from origin

2016-06-14 Thread Jaap Dam
Hi Amos, I've part of the logging as an attachment. I'm requesting a single URL in this log. The log starts with a stale cache of the item. Hope you can help. Best regards 2016-06-13 15:34 GMT+02:00 Amos Jeffries : > On 14/06/2016 12:29 a.m., Jaap Dam wrote: > > Is the collapsed_forwarding dir

Re: [squid-users] Queue incoming requests when fetching from origin

2016-06-14 Thread Jaap Dam
Hi, I run the tests with SoapUI 5.2.1. I've created Rest project with a test-step and a Load Test for that test step. I'm using the Simple strategy, with 40 threads with a delay of 1000ms and a random factor of 0.5. I've got Squid behind a Apache server which is available from the internet. So th

Re: [squid-users] Queue incoming requests when fetching from origin

2016-06-13 Thread Matus UHLAR - fantomas
On 13.06.16 14:29, Jaap Dam wrote: I've got a reliable but slow backend that sends cacheble responses. When I run a manual test, I can see I miss the cache every one in a while and got hits most of the time. This is also reflected in the response time, 200+ ms for a miss, ~20ms for a hit. how d

Re: [squid-users] Queue incoming requests when fetching from origin

2016-06-13 Thread Amos Jeffries
On 14/06/2016 12:29 a.m., Jaap Dam wrote: > Is the collapsed_forwarding directive the correct one to use for my > use-case or am i missing something? Yes it is correct so far as I am understanding your need. For further debugging about what is going on you will need the HTTP messages involved. Ad

[squid-users] Queue incoming requests when fetching from origin

2016-06-13 Thread Jaap Dam
Hi, I've got a reliable but slow backend that sends cacheble responses. When I run a manual test, I can see I miss the cache every one in a while and got hits most of the time. This is also reflected in the response time, 200+ ms for a miss, ~20ms for a hit. However when I request the same resour