Skip to content Skip to sidebar Skip to footer

Should I Load A Hidden Iframe In The Beginning?

I'm testing the speed of my site, mostly for the purpose of high ranking in Google. So I'm using this site: http://www.webpagetest.org/compare Everything works really fast, except

Solution 1:

Does the loading of hidden iframe and images really affects the page load time that google measures?

Yes it affects it

Does it make sense to make the user wait for the data when he clicks the link just for the sake of faster page load (actually, I'm using Google PageSpeed service, so the page shows and works fine before the iframe is fully loaded).

No, this is not a good practice. You should do something else.

What? See my logic below.

Load your page including your iframe but with NO src value, so it loads really quick. And onLoad of the page, just call a javascript function that will load the iframe in the backround without the user (or google) noticing that something is still loading

Post a Comment for "Should I Load A Hidden Iframe In The Beginning?"