So, I\'m trying to find an answer to why this problem is happening; I\'ve fixed the problem, but I want to know why it happened.
Google-provided conversi
There is 2 reasons why the first method should be slow.
Your solution works because the iframe it creates does not request the remote url until after the onload event. Having a set timeout on the first code, you would also get the page to load, then the request to the remote url to fire.
As to why the change of code broke the site, I can not seem to find any speed differences transferring between the two. Maybe it seemed faster because it was cached.