W3C home > Mailing lists > Public > www-style@w3.org > January 2000

IE 5.0 stylesheet caching bug

From: Dan Kohn <dan@teledesic.com>
Date: Tue, 28 Dec 1999 02:28:20 -0500 (EST)
Message-ID: <25D0C66E6D25D311B2AC0008C7913EE0517A97@tdmail2.teledesic.com>
To: "'fahrner@pobox.com'" <fahrner@pobox.com>, "Fork (E-mail)" <fork@kragen.dnaco.net>, "'www-style@w3.org'" <www-style@w3.org>
IE 5.0 & 5.5 do not cache most stylesheets, resulting in a significantly
degraded user experience.  In IE, go to <http://www.dankohn.com>, click on
books, click back, and click on books again.  You will notice the latency as
IE refetches the stylesheet.  Now, choose File: Work Offline and hit back.
Note that the page is displayed without the stylesheet because it's not
cached.

<http://www.w3.org/StyleSheets/Core/> shows the same behavior, but oddly
<http://www.xmlhack.com> and <http://www.xml.com> do not.  It appears that
IE only caches stylesheets if they are referenced with a relative URL.

Unfortunately, I've become addicted to Todd Fahrner's Steely W3C Core Style
Sheet (which is gorgeous), but requires the browser sniffing functionality
from the W3.  This would be fine if it were once per site visit, but it
winds up really slowing down someone who is trying to traverse my site by
requiring a new fetch for every page.

Any suggestions or workarounds?

		- dan
--
Daniel Kohn <mailto:dan@dankohn.com>
tel:+1-425-519-7968  fax:+1-425-602-6223
http://www.dankohn.com
Received on Saturday, 1 January 2000 15:40:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:02 GMT