Hi everyone, I was wondering if using iframes will affect my website’s performance more than using standard media formats like JPG, PNG, and videos? If I create a vertical gallery where everything is embedded, how will that impact my site compared to traditional galleries? Thanks!
If you mean each individual item is an IFRAME containing content, then for N items you’d be adding the overhead of the load and rendering of N additional webpages.
They’d probably be very simple, lightweight webpages, but it still creates a chain-of-ownership delay in loading your content and building your page, and the additional pages mean additional layout, CSS, etc, for the browser to process.
Hi Michael, thanks for the quick answer, you said lightweight webpages? What about if you embed let’s say 10 and pass projects made with spline 3D in the same page? They will load one after each or all of them at the same time?
It’s exactly the same overhead either way.
Overall, you should avoid IFRAMEs except when they’re necessary, and if at all possible, avoid building a page full of IFRAMEs. If you’ve ever filled a page full of youtube vids, that’s the kind of delay to expect.
But no sense in asking the community, how it feels depends entirely on your splines, server speeds for the IFRAMEd content, etc. Just prototype a page and you’ll know what works for you.
You’re right probably is a silly question, have a nice day, thanks.