Re: script tag - archive attribute

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