What gets removed first
Editor metadata, comments, hidden and empty elements, redundant group nesting, default attribute values, and excess decimal precision account for most of the waste in designer-exported SVG. Removing them rarely changes rendering.
Safe defaults versus aggressive passes
The default preset strips known-safe waste. Stronger options merge paths, collapse groups, and rewrite presentation attributes to styles. Those save more bytes but can affect clipping, masks, and CSS selectors, so review the result after each step.
