Because of this bloat in Confluence, we actually just use it for editing and serve the content in a more lightweight way using the API and our own templates.