• 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
.github Loading commit data...
bin Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
man Loading commit data...
tools Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
.syntastic_c_config Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
Makefile.inc.phk Loading commit data...
Makefile.phk Loading commit data...
README.Packaging Loading commit data...
README.rst Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
config.phk Loading commit data...
configure.ac Loading commit data...
flint.lnt Loading commit data...
varnish-legacy.m4 Loading commit data...
varnish.m4 Loading commit data...
varnishapi-uninstalled.pc.in Loading commit data...
varnishapi.pc.in Loading commit data...