Caching same object twice for different browsers
Tollef Fog Heen
tfheen at varnish-software.com
Thu Jul 14 10:17:16 CEST 2011
]] Lars Jørgensen
| Sorry for top-quoting, but stuck with Outlook and fixed settings here at the office.
|
| Anyway, I found out that the web server does not use a Vary-header, so that wasn't the problem. After doing some manual tests and being unable the replicate the problem, I started to look harder at the two dumps below. Then it became pretty obvious.
|
| It seems that Explorer and Firefox requests urls in a different way.
|
| Explorer: /erez4/cache/online_master_arkiv_webbilleder_DIA_
| Firefox: /erez4/cache/online%5Fmaster%5Farkiv%5Fwebbilleder%5FDIA
|
| Of course that means diffent objects in the cache since varnish hashes on req.url. Is there a know workaround to this problem?
you could regsub it or with 3.0 I'd suggest having a vmod that just
normalises URLs and removes extra % escapes.
--
Tollef Fog Heen
Varnish Software
t: +47 21 98 92 64
More information about the varnish-misc
mailing list