Pages

Advertisement

Monday, July 9, 2007

Batch your code to save processing time

If you use the <%=...%> syntax to write in multiple places in your code, consider "batching" those writes by replacing multiple, interspersed <%=...%> writes with one Response.Write statement. While you are making that change, take a look at how you have your HTML code with regard to your script.
Try not to intersperse HTML and script too much; instead, try to have blocks of script and blocks of HTML. Arranging your HTML and Script code will save you valuable server process time.

No comments:

Post a Comment