HomePhabricator

VCL: X-Cache simplification

Description

VCL: X-Cache simplification

  1. Remove the stacked foo+bar states. Only the final one matters

for most analysis or stats, the rest was about debugging and
understanding varnish behaviors, and we have better ways to do
that without involving runtime headers. This includes removing
the text-specific "+chfp". Each layer now only records one of
four possible states: hit, miss, pass, or int.

  1. Remove the hit-counter from non-hit states (it's always zero).
  2. Re-format hit-counter as "hit/N" rather than "hit (N)"
  3. Remove logic/output for "frontend" (the right-most is always

"frontend", so it's redundant).

With this change, interpretation and accounting for statistical
purposes is greatly simplified.

Change-Id: Ic597afd159b76d70b993437c4fb7ffb53b069b62

Details

Provenance
BBlackAuthored on May 16 2016, 7:19 PM
Parents
rOPUPf60a71602db1: frontend VCL: secure_post now affects most methods
Branches
Unknown
Tags
Unknown
ChangeId
Ic597afd159b76d70b993437c4fb7ffb53b069b62