[PATCH] Normalizing the Host: header

Tollef Fog Heen tfheen at varnish-software.com
Fri Feb 18 13:32:51 CET 2011


]] "Poul-Henning Kamp" 

| In message <4D5E44FF.5060302 at uplex.de>, Nils Goroll writes:
| 
| >Shouldn't we normalize the host header anyway to maximize cache hit rates ?
| 
| Relevant question in this context:  Do we know how to ?

Normalise usually means rewriting from a list of various legal names to
the canonical name, so in the general case: no.

| Remember that DNS names can contain ideograms in asia these days...

They're still just ascii under the hood, escaped by xn-- and the crazy
IDN scheme.

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




More information about the varnish-dev mailing list