jrtechs / NodeJSBlog

Personal blog written from scratch using Node.js, Bootstrap, and MySQL.
https://jrtechs.net
Mozilla Public License 2.0
4 stars 5 forks source link

Improve Website Performance by Lazy Loading Youtube Videos #10

Closed jrtechs closed 5 years ago

jrtechs commented 6 years ago

After looking at the waterfall for my website speed test, I have determined that I can nearly cut load time in half if I lazy load embedded youtube videos.

youtubespeeddown

I found a node package for this, however, I think I want to make something custom to reduce dependencies and optimize the css/javascript. I'm thinking about using this code.

jrtechs commented 5 years ago

Issue has been resolved.