mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-11 10:07:10 -04:00
The "early-hints" option can now be set to "only", in which case the cache will only store data relevant to the emission of 103 Early Hints responses. Hint records are extracted on the fly from the live response HTX rather than going through a full-storage-then-strip cycle: the entry is created as CACHE_EF_STRIPPED directly, with hint records written past the cache_entry header at storage time. Response bodies are never stored. Because entries are stripped from the start, eviction in this mode never has to strip a full entry; the full LRU stays empty and cache_make_room() falls through to evicting the oldest stripped entry when the cache fills up. The max-object-size check (which gates caching based on the upstream- announced Content-Length) is bypassed in this mode: the actual stored entry is just the hint records (typically under 1 KB), so applying it to the body size would needlessly discard hints for arbitrarily large responses. As a hints-only entry is never served as a response, the backend response is forwarded unchanged in this mode: in particular its Age header is kept rather than stripped as it is for a stored response. |
||
|---|---|---|
| .. | ||
| design-thoughts | ||
| internals | ||
| lua-api | ||
| 51Degrees-device-detection.txt | ||
| acl.fig | ||
| coding-style.txt | ||
| configuration.txt | ||
| cookie-options.txt | ||
| DeviceAtlas-device-detection.txt | ||
| gpl.txt | ||
| haload.txt | ||
| haproxy.1 | ||
| HAProxyCommunityEdition_60px.png | ||
| haterm.txt | ||
| intro.txt | ||
| lgpl.txt | ||
| linux-syn-cookies.txt | ||
| lua.txt | ||
| management.txt | ||
| netscaler-client-ip-insertion-protocol.txt | ||
| network-namespaces.txt | ||
| peers-v2.0.txt | ||
| peers.txt | ||
| proxy-protocol.txt | ||
| queuing.fig | ||
| regression-testing.txt | ||
| seamless_reload.txt | ||
| security.txt | ||
| SOCKS4.protocol.txt | ||
| SPOE.txt | ||
| WURFL-device-detection.txt | ||