|
2 | 2 | <html lang="en"> |
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8" /> |
5 | | - <title>HAProxy version 3.4-dev0-7 - Configuration Manual</title> |
| 5 | + <title>HAProxy version 3.4-dev0-13 - Configuration Manual</title> |
6 | 6 | <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" /> |
7 | 7 | <link href="https://raw.githubusercontent.com/thomaspark/bootswatch/v3.3.7/cerulean/bootstrap.min.css" rel="stylesheet" /> |
8 | 8 | <link href="../css/page.css?0.4.2-15" rel="stylesheet" /> |
|
4701 | 4701 | You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br> |
4702 | 4702 | </p> |
4703 | 4703 | <p class="text-right"> |
4704 | | - <small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/12/01</b></small> |
| 4704 | + <small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2025/12/04</b></small> |
4705 | 4705 | </p> |
4706 | 4706 | </div> |
4707 | 4707 | <!-- /.sidebar --> |
|
4712 | 4712 | <div class="text-center"> |
4713 | 4713 | <h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1> |
4714 | 4714 | <h2>Configuration Manual</h2> |
4715 | | - <p><strong>version 3.4-dev0-7</strong></p> |
| 4715 | + <p><strong>version 3.4-dev0-13</strong></p> |
4716 | 4716 | <p> |
4717 | 4717 | 2025/11/26<br> |
4718 | 4718 |
|
@@ -23747,27 +23747,27 @@ <h2 id="chapter-6.2" data-target="6.2"><small><a class="small" href="#6.2">6.2.< |
23747 | 23747 | <a class="anchor" id="6.2.1" name="6.2.1"></a> |
23748 | 23748 | <h3 id="chapter-6.2.1" data-target="6.2.1"><small><a class="small" href="#6.2.1">6.2.1.</a></small> Cache section</h3> |
23749 | 23749 | <div><a class="anchor" name="cache"></a><a class="anchor" name="6-cache"></a><a class="anchor" name="6.2.1-cache"></a><a class="anchor" name="cache (Cache)"></a><a class="anchor" name="cache (Cache section)"></a><div class="keyword"><b><a class="anchor" name="cache"></a><a href="#6.2.1-cache">cache</a></b> <span style="color: #080"><name></span></div><pre class="text">Declare a cache section, allocate a shared cache memory named <name>, the |
23750 | | -size of cache is mandatory. |
23751 | | -</pre><a class="anchor" name="total-max-size"></a><a class="anchor" name="6-total-max-size"></a><a class="anchor" name="6.2.1-total-max-size"></a><a class="anchor" name="total-max-size (Cache)"></a><a class="anchor" name="total-max-size (Cache section)"></a><div class="keyword"><b><a class="anchor" name="total-max-size"></a><a href="#6.2.1-total-max-size">total-max-size</a></b> <span style="color: #080"><megabytes></span></div><pre class="text">Define the size in RAM of the cache in megabytes. This size is split in |
23752 | | -blocks of 1kB which are used by the cache entries. Its maximum value is 4095. |
23753 | | -</pre><a class="anchor" name="max-object-size"></a><a class="anchor" name="6-max-object-size"></a><a class="anchor" name="6.2.1-max-object-size"></a><a class="anchor" name="max-object-size (Cache)"></a><a class="anchor" name="max-object-size (Cache section)"></a><div class="keyword"><b><a class="anchor" name="max-object-size"></a><a href="#6.2.1-max-object-size">max-object-size</a></b> <span style="color: #080"><bytes></span></div><pre class="text">Define the maximum size of the objects to be cached. Must not be greater than |
23754 | | -an half of "<a href="#total-max-size">total-max-size</a>". If not set, it equals to a 256th of the cache size. |
23755 | | -All objects with sizes larger than "<a href="#max-object-size">max-object-size</a>" will not be cached. |
| 23750 | +size of cache is mandatory (see keyword "<a href="#total-max-size">total-max-size</a>" below). |
23756 | 23751 | </pre><a class="anchor" name="max-age"></a><a class="anchor" name="6-max-age"></a><a class="anchor" name="6.2.1-max-age"></a><a class="anchor" name="max-age (Cache)"></a><a class="anchor" name="max-age (Cache section)"></a><div class="keyword"><b><a class="anchor" name="max-age"></a><a href="#6.2.1-max-age">max-age</a></b> <span style="color: #080"><seconds></span></div><pre class="text">Define the maximum expiration duration. The expiration is set as the lowest |
23757 | 23752 | value between the s-maxage or max-age (in this order) directive in the |
23758 | 23753 | Cache-Control response header and this value. The default value is 60 |
23759 | 23754 | seconds, which means that you can't cache an object more than 60 seconds by |
23760 | 23755 | default. |
| 23756 | +</pre><a class="anchor" name="max-object-size"></a><a class="anchor" name="6-max-object-size"></a><a class="anchor" name="6.2.1-max-object-size"></a><a class="anchor" name="max-object-size (Cache)"></a><a class="anchor" name="max-object-size (Cache section)"></a><div class="keyword"><b><a class="anchor" name="max-object-size"></a><a href="#6.2.1-max-object-size">max-object-size</a></b> <span style="color: #080"><bytes></span></div><pre class="text">Define the maximum size of the objects to be cached. Must not be greater than |
| 23757 | +an half of "<a href="#total-max-size">total-max-size</a>". If not set, it equals to a 256th of the cache size. |
| 23758 | +All objects with sizes larger than "<a href="#max-object-size">max-object-size</a>" will not be cached. |
| 23759 | +</pre><a class="anchor" name="max-secondary-entries"></a><a class="anchor" name="6-max-secondary-entries"></a><a class="anchor" name="6.2.1-max-secondary-entries"></a><a class="anchor" name="max-secondary-entries (Cache)"></a><a class="anchor" name="max-secondary-entries (Cache section)"></a><div class="keyword"><b><a class="anchor" name="max-secondary-entries"></a><a href="#6.2.1-max-secondary-entries">max-secondary-entries</a></b> <span style="color: #080"><number></span></div><pre class="text">Define the maximum number of simultaneous secondary entries with the same primary |
| 23760 | +key in the cache. This needs the vary support to be enabled. Its default value is 10 |
| 23761 | +and should be passed a strictly positive integer. |
23761 | 23762 | </pre><a class="anchor" name="process-vary"></a><a class="anchor" name="6-process-vary"></a><a class="anchor" name="6.2.1-process-vary"></a><a class="anchor" name="process-vary (Cache)"></a><a class="anchor" name="process-vary (Cache section)"></a><div class="keyword"><b><a class="anchor" name="process-vary"></a><a href="#6.2.1-process-vary">process-vary</a></b> <span style="color: #080"><on/off></span></div><pre class="text">Enable or disable the processing of the Vary header. When disabled, a response |
23762 | 23763 | containing such a header will never be cached. When enabled, we need to calculate |
23763 | 23764 | a preliminary hash for a subset of request headers on all the incoming requests |
23764 | 23765 | (which might come with a cpu cost) which will be used to build a secondary |
23765 | 23766 | key for a given request (see RFC 7234#4.1). The secondary key is built out of |
23766 | 23767 | the contents of the 'accept-encoding', 'referer' and 'origin' headers for |
23767 | 23768 | now. The default value is off (disabled). |
23768 | | -</pre><a class="anchor" name="max-secondary-entries"></a><a class="anchor" name="6-max-secondary-entries"></a><a class="anchor" name="6.2.1-max-secondary-entries"></a><a class="anchor" name="max-secondary-entries (Cache)"></a><a class="anchor" name="max-secondary-entries (Cache section)"></a><div class="keyword"><b><a class="anchor" name="max-secondary-entries"></a><a href="#6.2.1-max-secondary-entries">max-secondary-entries</a></b> <span style="color: #080"><number></span></div><pre class="text">Define the maximum number of simultaneous secondary entries with the same primary |
23769 | | -key in the cache. This needs the vary support to be enabled. Its default value is 10 |
23770 | | -and should be passed a strictly positive integer. |
| 23769 | +</pre><a class="anchor" name="total-max-size"></a><a class="anchor" name="6-total-max-size"></a><a class="anchor" name="6.2.1-total-max-size"></a><a class="anchor" name="total-max-size (Cache)"></a><a class="anchor" name="total-max-size (Cache section)"></a><div class="keyword"><b><a class="anchor" name="total-max-size"></a><a href="#6.2.1-total-max-size">total-max-size</a></b> <span style="color: #080"><megabytes></span></div><pre class="text">Define the size in RAM of the cache in megabytes. This size is split in |
| 23770 | +blocks of 1kB which are used by the cache entries. Its maximum value is 4095. |
23771 | 23771 | </pre></div> |
23772 | 23772 | <a class="anchor" id="6.2.2" name="6.2.2"></a> |
23773 | 23773 | <h3 id="chapter-6.2.2" data-target="6.2.2"><small><a class="small" href="#6.2.2">6.2.2.</a></small> Proxy section</h3> |
@@ -33828,7 +33828,7 @@ <h2 id="chapter-12.8" data-target="12.8"><small><a class="small" href="#12.8">12 |
33828 | 33828 | <br> |
33829 | 33829 | <hr> |
33830 | 33830 | <div class="text-right"> |
33831 | | - HAProxy 3.4-dev0-7 – Configuration Manual<br> |
| 33831 | + HAProxy 3.4-dev0-13 – Configuration Manual<br> |
33832 | 33832 | <small>, 2025/11/26</small> |
33833 | 33833 | </div> |
33834 | 33834 | </div> |
|
0 commit comments