Avoid an excessive DOM size in website? All Questions › Category: Web Development › Avoid an excessive DOM size in website? 0 Vote Up Vote Down CS Electrical And Electronics Staff asked 3 years ago How to optimize DOM size in the website. A large DOM will increase memory usage, cause longer style calculations, and produce costly layout reflows.