If your website has poorly coded plugins or themes, it can cause code bloat leading to an increase in DOM size, thereby reducing the site’s performance, speed, and user experience.  Hence, use well-coded plugins from reputable sources and keep them up-to-date. As for themes, compress heavy themes to make sure they load efficiently.