W3C home > Mailing lists > Public > www-html@w3.org > January 2003

Re: script tag - archive attribute

From: Roland Bluethgen <calocybe@web.de>
Date: Thu, 23 Jan 2003 14:42:41 +0100
Message-ID: <3E2FF151.2060204@web.de>
To: Stephen Battey <Stephen.Battey@vega.co.uk>, www-html@w3.org

Stephen Battey wrote:
> Looking at it from a different point of view, though, the ability to zip-up
> a set of JavaScript files and reference the whole archive from a single zip
> file, downloaded once and then cached is superb.

Browsers can cache each single file as well, so they need to download 
them only once. As to the compression, Content-Encoding: gzip  does this 
job very well. Only very old browsers don't understand this. The TCP/IP 
overhead (making a separate connection for each file) can be saved by 
using persistent connections (a.k.a. keep-alive). Again, only old 
browsers fail on this. So only the HTTP overhead remains. Is that alone 
reason enough to introduce an archive attribute, making user agents yet 
more complex?
Received on Thursday, 23 January 2003 08:41:50 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:48 UTC