![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Mark Tranchant wrote: Maybe in theory, but I could not persuade my work proxy to cache both types, leading to IE asking me if I wanted to download my pages...! That's a fault in IE, but surely unrelated to caching. (No?) |
|
I had a terrible time with IE 5.x and content negotiation. I wrote up a pretty full account, along with a test case, in ciwa.site-design some time ago. |
#2
| |||
| |||
|
|
Alan J. Flavell wrote: What Mark is saying, I think, is that the proxy had cached the real-XHTML(tm) variant (when it had been requested by some XHTML-capable browser), and then along came IE, asking for negotiated content, and the cache handed -it- a copy of the previously-cached XHTML Arrgggghhh! |
#3
| |||
| |||
|
|
Have you looked at your vary headers? I'm afraid I'm only barely treading water on such matters, but from reading about headers at the w3c http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.44 it seems that cacheability is affected by vary headers. In principle, at least, a proxy should only deliver a cached document that was retrieved using the same request, right? Is your server is sending out a vary header for content-type? |
#4
| |||
| |||
|
|
Brian wrote: it seems that cacheability is affected by vary headers. |
|
In principle, at least, a proxy should only deliver a cached document that was retrieved using the same request, right? |
|
Using Rex Swain's excellent tool: Vary: negotiate,accept,Accept-Encoding,User-Agent |
![]() |
| Thread Tools | |
| Display Modes | |
| |