W3C home > Mailing lists > Public > www-international@w3.org > April to June 2005

cool URIs and microsoft internet explorer

From: Reto Bachmann-Gmuer <reto@gmuer.ch>
Date: Mon, 13 Jun 2005 14:39:53 +0200
To: www-international@w3.org
Message-Id: <1118666393.8276.29.camel@localhost.localdomain>


In the CMS I'm developing [1] I try to adhere to the cool uri
recommendations [2]. For example the page at http://www.osar.ch is
delivered in french, English or German according to the Accept-language
header, the html of the page references the image at
http://www.osar.ch/images/logo which is itself available in these three

As people happen not to be configuring the browser settings correctly,
it is possible to change the language on the site, causing the server to
set a cookie containing language preferences that override the
http-header on subsequent requests.

This works fine with all tested browser except Microsoft Internet
Explorer which after changing the language continues to show the
previously retrieved image in the old language.

The only work-around I found is to disable caching completely [3],
however this significantly decreases the perceived performance of the
site so I'm wondering if somebody has a better solution for this.


1. http://Wymiwyg.org/knobot
2. http://www.w3.org/Provider/Style/URI
3. if (isIE(request)) {
            response.setHeader(HeaderName.CACHE_CONTROL, "no-cache"); 
            response.setHeader(HeaderName.PRAGMA, "no-cache"); 
            response.setHeader(HeaderName.EXPIRES, "-1"); 
Received on Monday, 13 June 2005 12:40:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:25 UTC