W3C home > Mailing lists > Public > www-tag@w3.org > December 2010

Re: URIs, deep linking, framing, adapting and related concerns

From: Karl Dubost <karld@opera.com>
Date: Thu, 30 Dec 2010 12:12:11 -0500
Message-Id: <F22CE265-318C-40D0-A740-6EB65B41A6CC@opera.com>
Cc: Larry Masinter <masinter@adobe.com>, Nick Gall <nick.gall@gmail.com>, "www-tag@w3.org" <www-tag@w3.org>
To: Martin J. Drst <duerst@it.aoyama.ac.jp>

Le 30 dc. 2010  06:28, Martin J. Drst a crit :
> As for scripts and styles sheets, first of all these don't serve much of a purpose purely on their own, and second, there are strong arguments such as consistency and caching, for using them by reference rather than by value (in this case, both is possible technology-wise).

not exactly. There are different cases. 

* some images can be in fact included with data uri schemes to avoid HTTP requests dance. They are encoded in base64. A usual trick for CSS designer (the compression is given by gzip)
See http://css-tricks.com/data-uris/

* Some techniques include CSS positioning where one HTTP request brings a big unique image with a lot of images on it and is positioned with CSS. Avoid HTTP requests, makes a more fluid experience for the user.
See http://css-tricks.com/css-sprites/

one visual symbol (image) != one URI

Karl Dubost - http://dev.opera.com/
Developer Relations & Tools, Opera Software
Received on Thursday, 30 December 2010 17:12:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:56:36 UTC