Sure, optimizing the template can be helpful, but it's not as high on the priority list as using a high-quality (and X-Cart-recommended) host, turning off unused modules (especially Advanced Statistics), and optimizing all images.
Would hate to see someone optimize their template only to not get the speed boost they were hoping for because the other areas weren't addressed first.
