dotcom-rendering
dotcom-rendering copied to clipboard
refactor!: remove legacy JS bundle
What does this change?
We no longer serve our JavaScript bundle to browsers that do not support modules. Mainly IE11. There are a few exception with inline scripts used for accessibility improvements.
Warning Our Google Analytics and Ophan scripts will no longer function in browsers that do not support ES Modules.
Why?
We no longer officially support IE11. Letβs improve the experience for no JavaScript instead of outdated JavaScript.
See also https://github.com/guardian/configs/pull/207 for context on current browser usage.
cc. @guardian/client-side-infra
Size Change: -683 kB (-38%) π
Total Size: 1.12 MB
Filename | Size | Change | |
---|---|---|---|
dotcom-rendering/dist/1815.legacy.********************.js |
0 B | -30.8 kB (removed) | π |
dotcom-rendering/dist/2344.legacy.********************.js |
0 B | -2.77 kB (removed) | π |
dotcom-rendering/dist/259.legacy.********************.js |
0 B | -3.24 kB (removed) | π |
dotcom-rendering/dist/286.legacy.********************.js |
0 B | -23.9 kB (removed) | π |
dotcom-rendering/dist/2947.legacy.********************.js |
0 B | -2.82 kB (removed) | π |
dotcom-rendering/dist/3584.legacy.********************.js |
0 B | -1.8 kB (removed) | π |
dotcom-rendering/dist/4019.legacy.********************.js |
0 B | -3.48 kB (removed) | π |
dotcom-rendering/dist/4135.legacy.********************.js |
0 B | -6.76 kB (removed) | π |
dotcom-rendering/dist/5436.legacy.********************.js |
0 B | -2.68 kB (removed) | π |
dotcom-rendering/dist/5553.legacy.********************.js |
0 B | -2.9 kB (removed) | π |
dotcom-rendering/dist/6131.legacy.********************.js |
0 B | -4.3 kB (removed) | π |
dotcom-rendering/dist/6400.legacy.********************.js |
0 B | -21.5 kB (removed) | π |
dotcom-rendering/dist/7148.legacy.********************.js |
0 B | -7.31 kB (removed) | π |
dotcom-rendering/dist/7576.legacy.********************.js |
0 B | -5.39 kB (removed) | π |
dotcom-rendering/dist/7829.legacy.********************.js |
0 B | -2.91 kB (removed) | π |
dotcom-rendering/dist/8129.legacy.********************.js |
0 B | -11.8 kB (removed) | π |
dotcom-rendering/dist/8344.legacy.********************.js |
0 B | -6.38 kB (removed) | π |
dotcom-rendering/dist/8612.legacy.********************.js |
0 B | -4.21 kB (removed) | π |
dotcom-rendering/dist/9380.legacy.********************.js |
0 B | -2.83 kB (removed) | π |
dotcom-rendering/dist/AlreadyVisited-importable.legacy.********************.js |
0 B | -4.52 kB (removed) | π |
dotcom-rendering/dist/atomIframe.legacy.********************.js |
0 B | -2.03 kB (removed) | π |
dotcom-rendering/dist/AudioAtomWrapper-importable.legacy.********************.js |
0 B | -517 B (removed) | π |
dotcom-rendering/dist/bootCmp.legacy.********************.js |
0 B | -12.4 kB (removed) | π |
dotcom-rendering/dist/Branding-importable.legacy.********************.js |
0 B | -4.01 kB (removed) | π |
dotcom-rendering/dist/braze-web-sdk-core.legacy.********************.js |
0 B | -36.1 kB (removed) | π |
dotcom-rendering/dist/BrazeMessaging-importable.legacy.********************.js |
0 B | -9.65 kB (removed) | π |
dotcom-rendering/dist/CalloutBlockComponent-importable.legacy.********************.js |
0 B | -8.46 kB (removed) | π |
dotcom-rendering/dist/ChartAtomWrapper-importable.legacy.********************.js |
0 B | -271 B (removed) | π |
dotcom-rendering/dist/CommentCount-importable.legacy.********************.js |
0 B | -7.42 kB (removed) | π |
dotcom-rendering/dist/CommercialMetrics-importable.legacy.********************.js |
0 B | -7.43 kB (removed) | π |
dotcom-rendering/dist/CoreVitals-importable.legacy.********************.js |
0 B | -6.95 kB (removed) | π |
dotcom-rendering/dist/DiscussionContainer-importable.legacy.********************.js |
0 B | -7.68 kB (removed) | π |
dotcom-rendering/dist/DiscussionMeta-importable.legacy.********************.js |
0 B | -7.89 kB (removed) | π |
dotcom-rendering/dist/DocumentBlockComponent-importable.legacy.********************.js |
0 B | -3.1 kB (removed) | π |
dotcom-rendering/dist/dynamicImport.********************.js |
1.94 kB | -955 B (-33%) | π |
dotcom-rendering/dist/dynamicImport.legacy.********************.js |
0 B | -3.18 kB (removed) | π |
dotcom-rendering/dist/EditionDropdown-importable.legacy.********************.js |
0 B | -4.13 kB (removed) | π |
dotcom-rendering/dist/EmbedBlockComponent-importable.legacy.********************.js |
0 B | -3.44 kB (removed) | π |
dotcom-rendering/dist/embedIframe.legacy.********************.js |
0 B | -2.04 kB (removed) | π |
dotcom-rendering/dist/EnhancePinnedPost-importable.legacy.********************.js |
0 B | -6.8 kB (removed) | π |
dotcom-rendering/dist/FetchCommentCounts-importable.legacy.********************.js |
0 B | -9.71 kB (removed) | π |
dotcom-rendering/dist/FilterButton-importable.legacy.********************.js |
0 B | -6.61 kB (removed) | π |
dotcom-rendering/dist/FilterKeyEventsToggle-importable.legacy.********************.js |
0 B | -3.41 kB (removed) | π |
dotcom-rendering/dist/FocusStyles-importable.legacy.********************.js |
0 B | -4.77 kB (removed) | π |
dotcom-rendering/dist/frontend.server.js |
446 kB | -445 B (0%) | |
dotcom-rendering/dist/ga.legacy.********************.js |
0 B | -4.02 kB (removed) | π |
dotcom-rendering/dist/GetCricketScoreboard-importable.legacy.********************.js |
0 B | -8.02 kB (removed) | π |
dotcom-rendering/dist/GetMatchNav-importable.legacy.********************.js |
0 B | -13.3 kB (removed) | π |
dotcom-rendering/dist/GetMatchStats-importable.legacy.********************.js |
0 B | -11 kB (removed) | π |
dotcom-rendering/dist/GetMatchTabs-importable.legacy.********************.js |
0 B | -7.09 kB (removed) | π |
dotcom-rendering/dist/guardian-braze-components-banner.legacy.********************.js |
0 B | -11.4 kB (removed) | π |
dotcom-rendering/dist/guardian-braze-components-end-of-article.legacy.********************.js |
0 B | -9.37 kB (removed) | π |
dotcom-rendering/dist/GuideAtomWrapper-importable.legacy.********************.js |
0 B | -273 B (removed) | π |
dotcom-rendering/dist/initDiscussion.legacy.********************.js |
0 B | -10.8 kB (removed) | π |
dotcom-rendering/dist/InstagramBlockComponent-importable.legacy.********************.js |
0 B | -3.09 kB (removed) | π |
dotcom-rendering/dist/InteractiveBlockComponent-importable.legacy.********************.js |
0 B | -8.27 kB (removed) | π |
dotcom-rendering/dist/islands.legacy.********************.js |
0 B | -11.5 kB (removed) | π |
dotcom-rendering/dist/KeyEventsCarousel-importable.legacy.********************.js |
0 B | -6.93 kB (removed) | π |
dotcom-rendering/dist/KnowledgeQuizAtomWrapper-importable.legacy.********************.js |
0 B | -280 B (removed) | π |
dotcom-rendering/dist/LabsHeader-importable.legacy.********************.js |
0 B | -8.81 kB (removed) | π |
dotcom-rendering/dist/Links-importable.legacy.********************.js |
0 B | -6.01 kB (removed) | π |
dotcom-rendering/dist/LiveBlogEpic-importable.legacy.********************.js |
0 B | -6.12 kB (removed) | π |
dotcom-rendering/dist/Liveness-importable.legacy.********************.js |
0 B | -3.41 kB (removed) | π |
dotcom-rendering/dist/MapEmbedBlockComponent-importable.legacy.********************.js |
0 B | -9.16 kB (removed) | π |
dotcom-rendering/dist/MostViewedFooterData-importable.legacy.********************.js |
0 B | -11.5 kB (removed) | π |
dotcom-rendering/dist/MostViewedRightWrapper-importable.legacy.********************.js |
0 B | -8.68 kB (removed) | π |
dotcom-rendering/dist/newsletterEmbedIframe.legacy.********************.js |
0 B | -2.18 kB (removed) | π |
dotcom-rendering/dist/OnwardsLower-importable.legacy.********************.js |
0 B | -16.2 kB (removed) | π |
dotcom-rendering/dist/OnwardsUpper-importable.legacy.********************.js |
0 B | -23.7 kB (removed) | π |
dotcom-rendering/dist/ophan.legacy.********************.js |
0 B | -7.3 kB (removed) | π |
dotcom-rendering/dist/PersonalityQuizAtomWrapper-importable.legacy.********************.js |
0 B | -282 B (removed) | π |
dotcom-rendering/dist/ProfileAtomWrapper-importable.legacy.********************.js |
0 B | -274 B (removed) | π |
dotcom-rendering/dist/PulsingDot-importable.legacy.********************.js |
0 B | -1.76 kB (removed) | π |
dotcom-rendering/dist/QandaAtomWrapper-importable.legacy.********************.js |
0 B | -272 B (removed) | π |
dotcom-rendering/dist/ReaderRevenueDev-importable.legacy.********************.js |
0 B | -4.6 kB (removed) | π |
dotcom-rendering/dist/readerRevenueDevUtils.legacy.********************.js |
0 B | -4.16 kB (removed) | π |
dotcom-rendering/dist/ReaderRevenueLinks-importable.legacy.********************.js |
0 B | -5.45 kB (removed) | π |
dotcom-rendering/dist/relativeTime.legacy.********************.js |
0 B | -2.57 kB (removed) | π |
dotcom-rendering/dist/RichLinkComponent-importable.legacy.********************.js |
0 B | -9.62 kB (removed) | π |
dotcom-rendering/dist/SecureSignupIframe-importable.legacy.********************.js |
0 B | -8.59 kB (removed) | π |
dotcom-rendering/dist/sentry.legacy.********************.js |
0 B | -691 B (removed) | π |
dotcom-rendering/dist/sentryLoader.legacy.********************.js |
0 B | -14 kB (removed) | π |
dotcom-rendering/dist/SetABTests-importable.legacy.********************.js |
0 B | -9.21 kB (removed) | π |
dotcom-rendering/dist/ShareCount-importable.legacy.********************.js |
0 B | -7.57 kB (removed) | π |
dotcom-rendering/dist/shimport.********************.js |
0 B | -2.78 kB (removed) | π |
dotcom-rendering/dist/shimport.legacy.********************.js |
0 B | -2.79 kB (removed) | π |
dotcom-rendering/dist/SignInGateMain.legacy.********************.js |
0 B | -4.57 kB (removed) | π |
dotcom-rendering/dist/SignInGateSelector-importable.legacy.********************.js |
0 B | -5.47 kB (removed) | π |
dotcom-rendering/dist/SlotBodyEnd-importable.legacy.********************.js |
0 B | -10.2 kB (removed) | π |
dotcom-rendering/dist/SpotifyBlockComponent-importable.legacy.********************.js |
0 B | -9.09 kB (removed) | π |
dotcom-rendering/dist/StickyBottomBanner-importable.legacy.********************.js |
0 B | -14.9 kB (removed) | π |
dotcom-rendering/dist/SubNav-importable.legacy.********************.js |
0 B | -7.21 kB (removed) | π |
dotcom-rendering/dist/TimelineAtomWrapper-importable.legacy.********************.js |
0 B | -273 B (removed) | π |
dotcom-rendering/dist/TopicFilterBank-importable.legacy.********************.js |
0 B | -7.59 kB (removed) | π |
dotcom-rendering/dist/TopRightAdSlot-importable.legacy.********************.js |
0 B | -2.09 kB (removed) | π |
dotcom-rendering/dist/TweetBlockComponent-importable.legacy.********************.js |
0 B | -1.79 kB (removed) | π |
dotcom-rendering/dist/UnsafeEmbedBlockComponent-importable.legacy.********************.js |
0 B | -3.08 kB (removed) | π |
dotcom-rendering/dist/VideoFacebookBlockComponent-importable.legacy.********************.js |
0 B | -9.16 kB (removed) | π |
dotcom-rendering/dist/VineBlockComponent-importable.legacy.********************.js |
0 B | -2.9 kB (removed) | π |
dotcom-rendering/dist/YoutubeBlockComponent-importable.legacy.********************.js |
0 B | -9.82 kB (removed) | π |
βΉοΈ View Unchanged
Filename | Size | Change |
---|---|---|
dotcom-rendering/dist/286.********************.js |
23.2 kB | 0 B |
dotcom-rendering/dist/2947.********************.js |
2.74 kB | 0 B |
dotcom-rendering/dist/3307.********************.js |
3.11 kB | 0 B |
dotcom-rendering/dist/3584.********************.js |
1.8 kB | 0 B |
dotcom-rendering/dist/4019.********************.js |
3.44 kB | 0 B |
dotcom-rendering/dist/5058.********************.js |
2.72 kB | 0 B |
dotcom-rendering/dist/5248.********************.js |
6.62 kB | 0 B |
dotcom-rendering/dist/5553.********************.js |
2.85 kB | 0 B |
dotcom-rendering/dist/6101.********************.js |
32.8 kB | 0 B |
dotcom-rendering/dist/6131.********************.js |
4.29 kB | 0 B |
dotcom-rendering/dist/6400.********************.js |
21.5 kB | 0 B |
dotcom-rendering/dist/7148.********************.js |
6.8 kB | 0 B |
dotcom-rendering/dist/7576.********************.js |
3.97 kB | 0 B |
dotcom-rendering/dist/7800.********************.js |
11.3 kB | 0 B |
dotcom-rendering/dist/7829.********************.js |
2.8 kB | 0 B |
dotcom-rendering/dist/8612.********************.js |
3.72 kB | 0 B |
dotcom-rendering/dist/9130.********************.js |
5.92 kB | 0 B |
dotcom-rendering/dist/AlreadyVisited-importable.********************.js |
4.52 kB | 0 B |
dotcom-rendering/dist/atomIframe.********************.js |
1.75 kB | 0 B |
dotcom-rendering/dist/AudioAtomWrapper-importable.********************.js |
459 B | 0 B |
dotcom-rendering/dist/bootCmp.********************.js |
8.8 kB | 0 B |
dotcom-rendering/dist/Branding-importable.********************.js |
3.99 kB | 0 B |
dotcom-rendering/dist/braze-web-sdk-core.********************.js |
36.1 kB | 0 B |
dotcom-rendering/dist/BrazeMessaging-importable.********************.js |
8.96 kB | 0 B |
dotcom-rendering/dist/CalloutBlockComponent-importable.********************.js |
8.11 kB | 0 B |
dotcom-rendering/dist/ChartAtomWrapper-importable.********************.js |
261 B | 0 B |
dotcom-rendering/dist/CommentCount-importable.********************.js |
7.27 kB | 0 B |
dotcom-rendering/dist/CommercialMetrics-importable.********************.js |
6.89 kB | 0 B |
dotcom-rendering/dist/CoreVitals-importable.********************.js |
6.72 kB | 0 B |
dotcom-rendering/dist/DiscussionContainer-importable.********************.js |
7.32 kB | 0 B |
dotcom-rendering/dist/DiscussionMeta-importable.********************.js |
7.7 kB | 0 B |
dotcom-rendering/dist/DocumentBlockComponent-importable.********************.js |
2.99 kB | 0 B |
dotcom-rendering/dist/EditionDropdown-importable.********************.js |
4.09 kB | 0 B |
dotcom-rendering/dist/EmbedBlockComponent-importable.********************.js |
3.34 kB | 0 B |
dotcom-rendering/dist/embedIframe.********************.js |
1.75 kB | -14 B (-1%) |
dotcom-rendering/dist/EnhancePinnedPost-importable.********************.js |
6.21 kB | 0 B |
dotcom-rendering/dist/FetchCommentCounts-importable.********************.js |
9.52 kB | 0 B |
dotcom-rendering/dist/FilterButton-importable.********************.js |
6.45 kB | 0 B |
dotcom-rendering/dist/FilterKeyEventsToggle-importable.********************.js |
3.35 kB | 0 B |
dotcom-rendering/dist/FocusStyles-importable.********************.js |
4.71 kB | 0 B |
dotcom-rendering/dist/ga.********************.js |
3.74 kB | 0 B |
dotcom-rendering/dist/GetCricketScoreboard-importable.********************.js |
7.79 kB | 0 B |
dotcom-rendering/dist/GetMatchNav-importable.********************.js |
12.9 kB | 0 B |
dotcom-rendering/dist/GetMatchStats-importable.********************.js |
10.1 kB | 0 B |
dotcom-rendering/dist/GetMatchTabs-importable.********************.js |
6.87 kB | 0 B |
dotcom-rendering/dist/guardian-braze-components-banner.********************.js |
11.3 kB | 0 B |
dotcom-rendering/dist/guardian-braze-components-banner.js |
10.3 kB | 0 B |
dotcom-rendering/dist/guardian-braze-components-end-of-article.********************.js |
9.28 kB | 0 B |
dotcom-rendering/dist/guardian-braze-components-end-of-article.js |
9.75 kB | 0 B |
dotcom-rendering/dist/GuideAtomWrapper-importable.********************.js |
263 B | 0 B |
dotcom-rendering/dist/initDiscussion.********************.js |
10.5 kB | 0 B |
dotcom-rendering/dist/InstagramBlockComponent-importable.********************.js |
3 kB | 0 B |
dotcom-rendering/dist/InteractiveBlockComponent-importable.********************.js |
8.04 kB | 0 B |
dotcom-rendering/dist/islands.********************.js |
10.7 kB | 0 B |
dotcom-rendering/dist/KeyEventsCarousel-importable.********************.js |
6.72 kB | 0 B |
dotcom-rendering/dist/KnowledgeQuizAtomWrapper-importable.********************.js |
268 B | 0 B |
dotcom-rendering/dist/LabsHeader-importable.********************.js |
8.65 kB | 0 B |
dotcom-rendering/dist/Links-importable.********************.js |
5.96 kB | 0 B |
dotcom-rendering/dist/LiveBlogEpic-importable.********************.js |
5.45 kB | 0 B |
dotcom-rendering/dist/Liveness-importable.********************.js |
3.29 kB | 0 B |
dotcom-rendering/dist/MapEmbedBlockComponent-importable.********************.js |
8.87 kB | 0 B |
dotcom-rendering/dist/MostViewedFooterData-importable.********************.js |
11.3 kB | 0 B |
dotcom-rendering/dist/MostViewedRightWrapper-importable.********************.js |
10.7 kB | 0 B |
dotcom-rendering/dist/newsletterEmbedIframe.********************.js |
1.91 kB | 0 B |
dotcom-rendering/dist/OnwardsLower-importable.********************.js |
15.8 kB | 0 B |
dotcom-rendering/dist/OnwardsUpper-importable.********************.js |
23.1 kB | 0 B |
dotcom-rendering/dist/ophan.********************.js |
7.08 kB | 0 B |
dotcom-rendering/dist/PersonalityQuizAtomWrapper-importable.********************.js |
271 B | 0 B |
dotcom-rendering/dist/ProfileAtomWrapper-importable.********************.js |
264 B | 0 B |
dotcom-rendering/dist/PulsingDot-importable.********************.js |
1.66 kB | 0 B |
dotcom-rendering/dist/QandaAtomWrapper-importable.********************.js |
262 B | 0 B |
dotcom-rendering/dist/ReaderRevenueDev-importable.********************.js |
4.58 kB | 0 B |
dotcom-rendering/dist/readerRevenueDevUtils.********************.js |
3.12 kB | 0 B |
dotcom-rendering/dist/readerRevenueDevUtils.js |
2.31 kB | 0 B |
dotcom-rendering/dist/ReaderRevenueLinks-importable.********************.js |
5.05 kB | 0 B |
dotcom-rendering/dist/relativeTime.********************.js |
2.28 kB | -13 B (-1%) |
dotcom-rendering/dist/RichLinkComponent-importable.********************.js |
9.45 kB | 0 B |
dotcom-rendering/dist/SecureSignupIframe-importable.********************.js |
8.29 kB | 0 B |
dotcom-rendering/dist/SecureSignupIframe-importable.js |
4.31 kB | 0 B |
dotcom-rendering/dist/sentry.********************.js |
684 B | 0 B |
dotcom-rendering/dist/sentryLoader.********************.js |
10.1 kB | 0 B |
dotcom-rendering/dist/SetABTests-importable.********************.js |
8.68 kB | 0 B |
dotcom-rendering/dist/ShareCount-importable.********************.js |
7.4 kB | 0 B |
dotcom-rendering/dist/SignInGateMain.********************.js |
4.46 kB | 0 B |
dotcom-rendering/dist/SignInGateMain.js |
2.88 kB | 0 B |
dotcom-rendering/dist/SignInGateSelector-importable.********************.js |
5.19 kB | 0 B |
dotcom-rendering/dist/SlotBodyEnd-importable.********************.js |
8.98 kB | 0 B |
dotcom-rendering/dist/SpotifyBlockComponent-importable.********************.js |
8.79 kB | 0 B |
dotcom-rendering/dist/StickyBottomBanner-importable.********************.js |
13.3 kB | 0 B |
dotcom-rendering/dist/SubNav-importable.********************.js |
7.04 kB | 0 B |
dotcom-rendering/dist/TimelineAtomWrapper-importable.********************.js |
262 B | 0 B |
dotcom-rendering/dist/TopicFilterBank-importable.********************.js |
7.41 kB | 0 B |
dotcom-rendering/dist/TopRightAdSlot-importable.********************.js |
2.06 kB | 0 B |
dotcom-rendering/dist/TweetBlockComponent-importable.********************.js |
1.8 kB | 0 B |
dotcom-rendering/dist/UnsafeEmbedBlockComponent-importable.********************.js |
2.98 kB | 0 B |
dotcom-rendering/dist/VideoFacebookBlockComponent-importable.********************.js |
8.88 kB | 0 B |
dotcom-rendering/dist/VineBlockComponent-importable.********************.js |
2.8 kB | 0 B |
dotcom-rendering/dist/YoutubeBlockComponent-importable.********************.js |
9.45 kB | 0 B |
β‘οΈ Lighthouse report for the changes in this PR
Lighthouse tested 2 URLs
β οΈ Budget exceeded for 2 of 10 audits.
Report for Article
tested url
https://www.theguardian.com/commentisfree/2020/feb/08/hungary-now-for-the-new-right-what-venezuela-once-was-for-the-left
Category | Status | Expected | Actual |
---|---|---|---|
First Contentful Paint | β | 1500 | 1188 |
Largest Contentful Paint | β | 3000 | 2166 |
Time to Interactive | β | 3500 | 1472 |
Cumulative Layout Shift | β οΈ | 0.002 | 0.004428 |
accessibility | β | 0.97 | 1.000000 |
Report for Front
tested url
https://www.theguardian.com/uk
Category | Status | Expected | Actual |
---|---|---|---|
First Contentful Paint | β | 1500 | 1443 |
Largest Contentful Paint | β | 3000 | 2296 |
Time to Interactive | β | 3500 | 1864 |
Cumulative Layout Shift | β | 0.002 | 0.000000 |
accessibility | β οΈ | 0.97 | 0.890000 |
Loving it - in sentry, should we exclude any errors that come from these browsers as we expect them?
Would you expect errors? Should you not serve JS to browsers you know will error?
Are there any more steps needed to get this one over the line? Can I help?
"This PR is stale because it has been open 30 days with no activity. Unless a comment is added or the βstaleβ label removed, this will be closed in 3 days"
This PR was closed because it has been stalled for 3 days with no activity.