Jump to content

optimize Javascript with "defer"


erich.wanker

Recommended Posts

Hi,

 

all Browsers make a break for loading javascripts - and all modern browsers can handle the "defer" function - a very cool funktion nobody knows to reduce loading time and startup ;-) .. 

 

My testapp project1.dll generates html code... <script src= ... ext-all.js>

how can i add defer="defer" to the lines

 

i use "defer" to reduce the loading time - because the page does not wait till the js are all loaded ..

 

Thanks for helping

Erich

post-1295-0-03334400-1366728667_thumb.jpg

post-1295-0-00333200-1366728674_thumb.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...