Simon Willison’s Weblog

Subscribe

Tuesday, 8th March 2022

lite-youtube-embed (via) Handy Web Component wrapper around the standard YouTube iframe embed which knocks over 500KB of JavaScript off the initial page load—I just added this to the datasette.io homepage and increased the Lighthouse performance score from 51 to 93!

# 9:13 pm / web-components, paul-irish, youtube, iframes, web-performance

2022 » March

MTWTFSS
 123456
78910111213
14151617181920
21222324252627
28293031