getsentry / getsentry/sentry-javascript

CDN Bundle Compression

Abierto
#21,196 3 comentarios 0 reacciones 1 asignado Reclamado por @Lms24 Ver en GitHub
Browser Bug State: Blocked
Lenguaje dominante
TypeScript
Estrellas
8.7k
Forks
1.8k
Merge medio
1 d 17 h
PR fusionados (30 d)
515

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.