Manage Learn to apply best practices and optimize your operations.

Run bare code; speed up Domino

Run bare code; speed up Domino
Angie Schottmuller

Administrators worrying over a glacially performing Domino site can use this tip to speed things up. Reader Angie Schottmuller tells us that stripped code runs better.

Every wonder how to improve the performance of your Domino web site? Your well-commented code may be slowing it down. To optimize the performance 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. The code that results will not be very readable to be sure, but will allow the browser to cache a much simpler file. Depending on the amount of comments you take out, and how many extraneous characters you remove, you could drastically improve your Domino site's performance, especially on pages that use extensive scripts.

But what about reading the file when it comes time for code maintenance? Create a copy of your well-commented code first, and then strip out the unnecessary elements. Save the original in a code library, but put the stripped-down code on the site. Team Studio's Librarian helps take full advantage of this! Good luck!

Angie Schottmuller is an application developer from Minnesota. She specializes in Domino Web Development (Javascript, CSS, and DHTML).

Was this tip helpful? Please take a minute to let us know.

Dig Deeper on Domino Resources - Part 7

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...