devxlogo

Put HTML and Script in Separate Blocks on the Web Page

Put HTML and Script in Separate Blocks on the Web Page

You can improve performance of ASP pages by putting HTML and script in separate blocks on the Web page. In other words, you should avoid interspersing the script code throughout the HTML code. When a browser requests an ASP page, the server-side script is separated out and executed on the Web server. Then, the server sends the HTML for the page to the client requesting the same. If the script is distributed throughout the page, the Web server will waste time separating them from the HTML.

devx-admin

Share the Post: