I have a complex page that has several user controls like galleries, maps, ads etc.
I’ve tried optimising them by ensuring full separation of html/css/js, placing js at the bottom of the page and trying to ensure I have well written code in all 3 but alas I still have a slow page. It’s not really noticeable to a modern browser but can see the stats and IE6/7.
So I’m now looking to do what we’ve done previously for Adtech flash crap – an iframe. Apart from the SEO impact which I’m not worried about in the case of these controls, what do people think of this as an approach? PROS and CONS please.
Thanks,
Denis
iframes aren’t the end of the world, but perhaps you may want to try ajax. Then the page could load immediately with a few loading gifs where the widgets will go. Then make a new ajax request for each of your widgets, and on repsonse the loading gifs will be replaced with the widget data.
Update: I guess “Lazy Loading” is the correct term for this.