Run bare code; speed up Domino

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

    Requires Free Membership to View

    Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.

    By submitting your registration information to SearchDomino.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchDomino.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

take a minute to let us know.


This was first published in January 2001

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.