• Dridi Boukelmoune's avatar
    Add Obj* records to the default vsl_mask · 0d1ab259
    Dridi Boukelmoune authored
    They add up to a considerable chunk of the VSL traffic, especially when
    cookies are involved, while providing little value when troubleshooting.
    In an effort to reduce VSL cycles on heavy workloads I found these to be
    good candidates for several reasons:
    
    - obj.* fields are immutable in VCL
    - after a hit, we initially get the same Resp* records in vcl_deliver
    - before vcl_backend_response returns, we can infer them from Beresp*
    
    The main difference would be ObjHeader:X-Varnish, but it would be the
    same as BerespHeader:X-Varnish, and be part of the RespHeader counterpart
    in the case of a hit. That, and cache-related headers adjusted to the
    current time.
    
    One case where they wouldn't appear is for example on a hit followed by
    a restart. I have yet to find a use case where I'd need to query them
    with varnishlog or some other VUT.
    0d1ab259
Name
Last commit
Last update
..
cache Loading commit data...
common Loading commit data...
hash Loading commit data...
hpack Loading commit data...
http1 Loading commit data...
http2 Loading commit data...
mgt Loading commit data...
proxy Loading commit data...
storage Loading commit data...
waiter Loading commit data...
Makefile.am Loading commit data...
Makefile.phk Loading commit data...
VSC_lck.vsc Loading commit data...
VSC_main.vsc Loading commit data...
VSC_mempool.vsc Loading commit data...
VSC_mgt.vsc Loading commit data...
VSC_sma.vsc Loading commit data...
VSC_smf.vsc Loading commit data...
VSC_smu.vsc Loading commit data...
VSC_vbe.vsc Loading commit data...
builtin.vcl Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
vclflint.lnt Loading commit data...
vclflint.sh Loading commit data...