I’m not really an expert on Blender, so I can’t give much advice on how it eventually may be used to optimize Medium exports. But just in case someone more clever will give it a go, I have created a test model in Medium. It’s Public Domain, use as you wish! (Fair warning: 210 MB download below!)
the-missing-ink.org/medium_export.zip