Design page with static HTML or static DOM Javascript? -


today i've question. faster load web page designed static html example:

<html>    <head>       <title>web page</title>    </head>    <body>       <p>hi community</p>    </body> </html> 

or static javascript dom? example document.createelement("...")

serving html directly faster approach, browser have render elements, , not manipulate dom :)


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -