Every wonder how to improve the performace of your Domino Web site? Perhaps your well-commented code is slowing it down. To optimize performace of your site, clean up all your external referenced files!
Remove all comments, line breaks, and tabs. Rename your variables to the shortest possible names. This will not result in a very readable piece of code, but will allow the browser to cache a much simpler file. This will drastically imporve performace, especially on pages that use extensive scripts.
TIP: Create a copy of your well-commented code, and then strip out the unnecessaries, so the
next developer can read it. I prefer to use a code library. With both scripts in the same document.
Team Studio's Librarian helps take full advantage of this! Good luck!
This was first published in January 2001