Performance differences between iframe hiding methods?
- by Ender
Is there a major performance difference between the following:
<iframe style="visibility:hidden" />
<iframe style="width:0px; height:0px; border:0px" />
I'm using a hidden iframe to pull down and parse some information from an external server. If the iframe actually attempts to render the page, this may suck up a lot of CPU cycles. Of course, I'd ideally just want to get the raw markup - for example, if I could prevent the iframe from loading img tags, that would be perfect.