Faster Navigation at YouTube with SPF
Over 6 billion hours of video are watched each
month on Youtube
Youtube wants to get that video to you as fast as possible
Identification of problem
Youtube developers analysis data from real user monitoring and
broke down the Critical Stages of Playback
Initializing player stage is same for every playback
So, they decide to reuse the same player when switching from video
to video
Solution
Youtube introducing a new JavaScript framework for page navigation
SPF is a lightweight framework for navigation and page updates
When someone visits YouTube for first time the pages is statically
loaded with whole content including video player. If he/she visit another video
the video player will be kept persist and only the other parts of the pages
will be loaded by receiving these page fragments from server increases
performance compared to loading the whole page again and again.
Result of SPF YouTube videos are
playing 40% faster than last year.
Comments
Post a Comment