getsentry / getsentry/sentry-javascript

CDN Bundle Compression

Ouverte
#21,196 3 commentaires 0 réactions 1 personne assignée Réclamée par @Lms24 Voir sur GitHub
Browser Bug State: Blocked
Langage dominant
TypeScript
Étoiles
8.7k
Forks
1.8k
Merge moyen
1 j 17 h
PR mergées (30 j)
515

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.