getsentry / getsentry/sentry-javascript

CDN Bundle Compression

Đang mở
#21,196 3 bình luận 0 reaction 1 người được giao Được @Lms24 nhận Xem trên GitHub
Browser Bug State: Blocked
Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
1.8k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
515

Mô tả

### 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.