Name
pipeline_prefetch
Synopsis
This directive controls whether or not Squid prefetches pipelined requests. It is disabled by default, so Squid acts only on one request at a time (per connection). If you enable this directive, Squid processes up to two client requests at once.
Note that the order of responses must match the order of requests. Thus, if the prefetched (second) request completes before the first, it is delayed until the first response is sent.
Squid doesn’t implement pipelining on the server-side. It always opens a new connection to an origin server (or neighbor) if there are no idle persistent connections.
Syntax | pipeline_prefetch on|off |
Default | pipeline_prefetch off |
Example | pipeline_prefetch on |
Related | client_persistent_connections |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access