Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Does iframe content count under time spent downloading a page

         

serenoo

3:36 pm on May 29, 2015 (gmt 0)

10+ Year Member



We know that it is an important factor to rank good.
On my website Google needs about 1 sec to download a random page of my website. My page is composed by text and 2 iframes (left and right) column that contains tons of banners.
The system first load the text and when the text appear to the visitors then the system start loading the left and right iframe, and the iframes start retrieving local and external banners.
My question is:
if an external banner needs 4 seconds to load and the page with iframes only 0.2 sec then Google consider 4.2 as time spent downloading a page?

rainborick

11:58 pm on May 29, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I don't know for a fact that Google includes the time it takes for an <iframe> to fully load, but if they don't do it know, they might well do it in the future. A slow-loading <iframe>certainly slows down the browser's rendering of a page. And if you look at how Google generates AdSense ads, you can see that <iframe> loading time is an issue they're very aware of.

In the situation you describe, I think you'd do well to follow Google's approach by setting up a JavaScript function that gets called at 'onload' which inserts the <iframe> tags into your document. That way, the parent document is fully loaded before the <iframe>s even exist.