Neil Paul Molina
Neil Paul Molina

Reputation: 1

Load Content of HTML scripts

Hello Good Day Everyone!

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

Upvotes: 0

Views: 202

Answers (1)

Pekka
Pekka

Reputation: 449525

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.

Upvotes: 1

Related Questions