getsentry / getsentry/sentry-javascript

CDN Bundle Compression

オープン
#21,196 コメント 3 件 リアクション 0 件 担当者 1 名 @Lms24 が担当を希望しています GitHub で見る
Browser Bug State: Blocked
主要言語
TypeScript
スター
8.7k
フォーク
1.8k
平均マージ
1日 17時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。