Skip to content

Portal.js bundle without Sentry #25287

@muratcorlu

Description

@muratcorlu

Portal.js is a huge library that we download on every single Ghost site. It's ~400KB (compressed, or 1.8MB unzipped).

And 75% of it is Sentry.

Image

I believe only a small fraction of Ghost sites actually enable Sentry, which suggests a significant and unnecessary waste of bandwidth and performance.

To address this, we should consider creating a separate bundle that excludes Sentry, making it the default option.

I’m willing to contribute and prepare a pull request, but before investing considerable effort, I’d appreciate confirmation from the Ghost team that they recognize the need for this optimization.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs:triage[triage] this needs to be triaged by the Ghost team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions