Jump to content

optimize Javascript with "defer"


Recommended Posts



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




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.

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...