Skip to content

EMBR-9818 chore: docs for crossorigin-anonymous on CDN#1011

Merged
jpmunz merged 3 commits intomainfrom
jpmunz/EMBR-9818-cdn-snippet-crossorigin-anonymous
Dec 9, 2025
Merged

EMBR-9818 chore: docs for crossorigin-anonymous on CDN#1011
jpmunz merged 3 commits intomainfrom
jpmunz/EMBR-9818-cdn-snippet-crossorigin-anonymous

Conversation

@jpmunz
Copy link
Copy Markdown
Contributor

@jpmunz jpmunz commented Dec 8, 2025

Goal

Recommend setting https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/crossorigin#anonymous when loading our snippet for CDN, this prevents sending user credentials in the request and prevents errors that originate in our script from being obfuscated

@jpmunz jpmunz requested a review from a team as a code owner December 8, 2025 14:29
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Dec 8, 2025

Chrome DevTools Protocol Tracing (Script: 107.87ms, Heap: 13.31MB)
Number of Requests Size of Requests Script Duration Task Duration Heap Used Size
Requests +3 requests +29.84 KB
Page Loaded +15.05 ms +8.75 ms +0.91 MB
Generate 100 fetch requests +15.47 ms +64.34 ms +1.99 MB
Generate 100 XHR requests +39.84 ms +107.48 ms +2.30 MB
Click 100 buttons and generate 100 logs +30.92 ms +40.58 ms +2.91 MB
Throw a 100 exceptions -1.10 ms +15.21 ms +2.16 MB
End Session +7.70 ms +14.72 ms +3.03 MB
Total +3 requests +29.84 KB +107.87 ms +251.08 ms +13.31 MB
Lighthouse (Script Eval: 50.92ms)
Difference Description
Total Blocking Time 0 ms Difference in Total Blocking Time: Sum of all time periods between FCP and Time to Interactive, when task length exceeded 50ms, expressed in milliseconds. Learn more about the Total Blocking Time metric.
Main Thread Time +71.05 ms Difference in Main Thread Time: Consider reducing the time spent parsing, compiling and executing JS. You may find delivering smaller JS payloads helps with this. Learn how to minimize main-thread work
Script Evaluation Time +50.92 ms Difference in Script Evaluation Time: Consider reducing the time spent parsing, compiling, and executing JS. You may find delivering smaller JS payloads helps with this. Learn how to reduce Javascript execution time.
Platform Tests (vite-7 gzip: 47.99KB)

vite-7 Platform Tests

Total Uncompressed Size Total Gzip Size
vite-7 - esnext +164.67 KB +47.99 KB
vite-7 - es2015 +171.51 KB +49.67 KB

vite-otel-latest Platform Tests

Total Uncompressed Size Total Gzip Size
vite-otel-latest - esnext +163.74 KB +49.69 KB
vite-otel-latest - es2015 +170.50 KB +51.32 KB

webpack-5 Platform Tests

Total Uncompressed Size Total Gzip Size
webpack-5 - esnext +121.11 KB +43.18 KB
webpack-5 - es2015 +122.22 KB +44.65 KB

@jpmunz jpmunz force-pushed the jpmunz/EMBR-9818-cdn-snippet-crossorigin-anonymous branch from ce5c516 to 0779cca Compare December 8, 2025 14:31
@jpmunz jpmunz changed the title EMBR-9818 WIP EMBR-9818 chore: docs for crossorigin-anonymous on CDN Dec 8, 2025
@jpmunz jpmunz merged commit ddfe105 into main Dec 9, 2025
28 of 29 checks passed
@jpmunz jpmunz deleted the jpmunz/EMBR-9818-cdn-snippet-crossorigin-anonymous branch December 9, 2025 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants