devxlogo

Minimize Comments in ASP Code to Improve Performance

Minimize Comments in ASP Code to Improve Performance

Because the ASP engine reads and interprets every character in the file, adding comments in the ASP page increases the work of the IIS. Although the HTML page that is sent to the client browser does not have any comments, the ASP engine still needs to parse each and every character in the comments to render this page at the server. Therefore, it is worth considering reducing or removing comments whenever possible from the production ASP code (that is, the final code released and deployed in the IIS).

devx-admin

Share the Post: