[Tin tức] Fix YouTube embed slow page load – Web speed optimization



Slow websites can lead to a poor user experience. Users often abandon a website if it is taking too long to load.

YouTube video embed code could be one of the reasons for slow website loads.

This tutorial will use a small CSS and JavaScript file that drastically improves the website speed.

We will also analyse the web speed using Chrome Dev Tool – The Network Tab – before and after the fix.

links to CSS & JS files:

#afzalk #devtools #webdevelopment

15 bình luận về “[Tin tức] Fix YouTube embed slow page load – Web speed optimization”

  1. I already have something similar to this on my site. Two problems I have with it is 1) this is not showing as an indexed video page on search console and 2) the play button that shows on mine is transparent white and looks terrible, it doesn't jump out as a youtube video in the same way that the youtube play button does, so I might pinch yours for that reason. I have been searching and searching but I cant seem to find a way to load a youtube embed efficiently without sacrificing it registering as a video page.

    Also, I just noticed when you loaded the first page that the waterfall showed the thumbnail image as WEBP. Maybe changing the JS to webp will help further reduce the load time 🙂

    Bình luận

Viết một bình luận

bahis10bets.com betvole1.com casinomaxi-giris.com interbahis-giris1.com klasbahis1.com mobilbahisguncelgiris1.com piabetgiris1.com tipobettgiris.com tumbetgiris1.com betboro 1xbet giriş
bahis10bets.com betvole1.com casinomaxi-giris.com interbahis-giris1.com klasbahis1.com mobilbahisguncelgiris1.com piabetgiris1.com tipobettgiris.com tumbetgiris1.com betboro 1xbet giriş
antalya bayan escort
antalya bayan escort
antalya bayan escort