Determining hash variations

Tollef Fog Heen tfheen at varnish-software.com
Tue Feb 22 10:53:43 CET 2011


]] Ben Dodd 

| Is there anyway to determine the number of hash variations a URL has
| in the cache? So if a page has multiple versions based on cookies,
| accept-encoding etc.

Assuming you mean variants coming from Vary, look at the difference
between objects and object heads.  There's no way to know the number for
a given object without resorting to inline C.

-- 
Tollef Fog Heen
Varnish Software
t: +47 21 98 92 64




More information about the varnish-misc mailing list