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

Re: <link> vs <style></style>

From: Chris Croome <chris@webarchitects.co.uk>
Date: Sat, 16 Dec 2000 16:21:17 +0000
To: www-style@w3.org
Message-ID: <20001216162117.A30289@webarchitects.co.uk>
On Sat 16-Dec-2000 at 05:06:11 +0200, Sampo A Syreeni wrote:
> 
> Links let you gather the stylesheet rules of your site to a single,
> easily maintainable stylsheet. Reuse is the key, here. But your
> browser can only start downloading the sheet when it has already
> fetched at least the head portion of your document, which means that
> you get two separate HTTP queries and possibly a lot of latency in
> between them. This is even more of a problem when the stylesheet
> @imports others.

Agreed, and an answer to this is to have the external style sheet
address in the HTTP headers, so the request for the css file can be sent
after the headers of the html file have been returned:

http://www.w3.org/TR/html4/present/styles.html#h-14.6

However I've not come across sites using this, is it supported in any
browsers?

Chris

-- 
Chris Croome <chris@webarchitects.co.uk>
work: http://www.webarchitects.co.uk/
play: http://chris.croome.net/

Received on Saturday, 16 December 2000 11:20:57 GMT

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