getsentry / getsentry/sentry-javascript

CDN Bundle Compression

未关闭
#21,196 3 条评论 0 个 reaction 已指派 1 人 已被 @Lms24 认领 在 GitHub 查看
Browser Bug State: Blocked
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
515

描述

### Is there an existing issue for this?

- [x] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- [x] I have reviewed the documentation https://docs.sentry.io/
- [x] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases

### How do you use Sentry?

Sentry Saas (sentry.io)

### Which SDK are you using?

@sentry/browser

### SDK Version

10.54.0

### Framework Version

_No response_

### Link to Sentry event

_No response_

### Reproduction Example/SDK Setup

The base CDN bundle doesn't appear to be gzipped. However, more specific bundles are compressed as expected. Here's the resulting network payload.

https://browser.sentry-cdn.com/10.54.0/bundle.min.js - 88.6 kb
https://browser.sentry-cdn.com/10.54.0/bundle.replay.logs.metrics.min.js - 71 kb
https://browser.sentry-cdn.com/10.54.0/bundle.logs.metrics.min.js - 31.6 kb

I see the same across all major browsers. The uncompressed size looks fine. You'll see there's no "Content-Encoding" header on the base bundle response.

### Steps to Reproduce

Inspect the provided URLs

### Expected Result

Compressed base bundle

### Actual Result

N/A

### Additional Context

_No response_

### Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。