0

Hello Good Day Everyone!

Will this work? or is there a better alternative? that may not require us to redo the 2nd page...

  • 1
    Don't do this. Leave prescient loading to the browser. By all means include all CSS and Javascript in one file and load it on the home page, but you don't need iframes for that. – Pekka Feb 04 '13 at 17:53
  • This could work. However, it sounds extremely unreliable. Have you considered removing the `iframes` using `ajax` to load the new content onto the page? – War10ck Feb 04 '13 at 17:53

1 Answers1

1

Don't do this. Leave prescient loading to the browser. By all means include all CSS and Javascript in one file and load it on the home page, but you don't need iframes for that.

Do proper optimization instead like everyone else. Look into how to optimize CSS and JS loading. Consider minifying your CSS and JS. Use tools like YSlow to find bottlenecks in your page delivery.

Community
  • 1
  • 1
Pekka
  • 442,112
  • 142
  • 972
  • 1,088