Large network payloads - Forum | JoomShaper
Staff replied SP Page Builder

Large network payloads

Asked by Odin Mayland 3 years ago Last activity 3 years ago

SPPB Version: 3.8.9
J 4.2.8

I have 2 youtube videos as section backgrounds.
Top section:
https://www.youtube.com/watch?v=d9LsWBYxZus
Footer:
https://www.youtube.com/watch?v=Lf7rbml__DE

But when I audit the site, it shows 7 hits on page load totlling 9.47mb.
https://gtmetrix.com/reports/forcedairsystems.com/iAY1Xo6U/

Here is one of them: https://rr3---sn-q4flrnl6.googlevideo.com/videoplayback?expire=1678655176&ei=aOoNZJo0o6aKvg_zlq2IBQ&ip=104.214.48.247&id=o-AAeYwou6ud7LQG2KjwHiiiqAjUt_5Tn7cbt_VUIyPMbh&itag=137&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&source=youtube&requiressl=yes&mh=r2&mm=31%2C29&mn=sn-q4flrnl6%2Csn-q4fl6n6d&ms=au%2Crdu&mv=m&mvi=3&pl=17&initcwndbps=8446250&spc=H3gIhpnEjKDnxza1CCGSAJTe03AOnkwAQeCVd9ekTpqW0qsN6Q&vprv=1&mime=video%2Fmp4&ns=o64TTwmqkzD_RKZzEAdNuB8L&gir=yes&clen=11338001&otfp=1&dur=25.058&lmt=1659906072764574&mt=1678633267&fvip=4&keepalive=yes&fexp=24007246&c=WEB_EMBEDDED_PLAYER&txp=6216224&n=vKHsxKtGmhNDGw&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cspc%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cotfp%2Cdur%2Clmt&sig=AOq0QJ8wRQIgOegh27iNf3tKvpUy3f4LeXvrAR5hUO-hqnPUXNYsjSECIQDphV3GgAETPD4IiYk2ilc4_D2z8OQQo3UjdJw976MF6w%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAIFPSR-BNTxqSs0Zp9c5B1b-TjYNRXZ3gYiba-lGe9OGAiEA0v-4V7lizHF2vD_xlf8qL7G00sOrQ2EexJCggFrgT90%3D&alr=yes&cpn=dHc8NVZfCFzbFsHU&cver=1.20230305.00.00&range=9652639-11338000&rn=11&rbuf=13431&pot=D4SubuISA478hJYApSsx7uhXwqF6_siqtfqLmCrEI_b2OGgob4eYU-ROoY6OsbkTZo_Cg-f_8fuSbq75aXiWPnNigE6BzgrtREDPQ4Nk_WymZLIL1sdsglNWZL0mS8nAjDX6GNA=

Is the above happening because of how SPPB embeds the youtube video?

Why is this happening and how do I resolve this to speed up the page load time?

1 reply

Paul Frankowski Senior Staff
3 years ago · edited

Hi Odini,

Look at the domain name, yes we use embed code from Youtube. You can also turn on privacy mode for YT, it may help.

Make your own experiment - Copy Embed code and paste inside RAW HTML addon then compare results.


You can use other solution (extra extension/plugin) that loads YT only after user will click play button, and before your custom image is displayed. It helps saves a lot of KB.

Log in to reply.