Determining hash variations

Stewart Robinson stewsnooze at gmail.com
Sat Feb 12 19:22:03 CET 2011


Hi,

I think that you won't be able to interrogate the cache to find out
what is in it. You might be able to construct some script that watches
varnishlog to build up a list of these URL variations but I wouldn't
do that in production at comic reliefs scale.

Stew

On 12 February 2011 11:13, Ben Dodd <B.Dodd at comicrelief.com> wrote:
> Hello,
>
> 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.
>
> Kind regards, Ben
>
> Comic Relief  1st Floor  89 Albert Embankment  London SE1 7TP  Tel: 020 7820 2000  Fax: 020 7820 2222  red at comicrelief.com  www.comicrelief.com
>
> Comic Relief is the operating name of Charity Projects, a company limited by guarantee and registered in England no. 1806414; registered charity 326568 (England & Wales) and SC039730 (Scotland). Comic Relief Ltd is a subsidiary of Charity Projects and registered in England no. 1967154. Registered offices: Hanover House, 14 Hanover Square, London W1S 1HP. VAT no. 773865187.
>
> This email (and any attachment) may contain confidential and/or privileged information. If you are not the intended addressee, you must not use, disclose, copy or rely on anything in this email and should contact the sender and delete it immediately. The views of the author are not necessarily those of Comic Relief. We cannot guarantee that this email (and any attachment) is virus free or has not been intercepted and amended, so do not accept liability for any damage resulting from software viruses. You should carry out your own virus checks.
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>




More information about the varnish-misc mailing list