Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: Intermediate
Mar 23, 1999

Use the ARCHIVE Attribute With JavaScript to Speed Download Times

ARCHIVE is a new attribute of the <SCRIPT> tag in Internet Explorer 4 and Netscape Navigator 4 that can speed up download times for sites with large JavaScript files. If you have several JavaScript files and digital signatures to load, it's more efficient to compress them into a single JAR (Java Archive) file. JAR archives are zipped files with self-descriptive information added. Within the JAR file, you still need to specify an external JavaScript file for each instance within an HTML page.
 
<SCRIPT ARCHIVE="myArchive.jar" SRC="myScript.js"></SCRIPT> 
Steve Renaker
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date