views:

28

answers:

1

Hi all,

I am loading a pure HTML code from a AJAX get request and appends it into a div using JQuery. In IE this process is quite slow. I used several method to speed this up but it does not have a major impact on IE.

So alternative is to load this content via IFrame. Iframe is rendered by browser and hence can be faster as compared to AJAX.

What are your thoughts guys?

A: 

I would suggest you to check how long takes to prepare result on back end. Then to check how long takes to get response on client and then compare. Probably there is a latency while you appending response into a div. Only after you will make those checks it could be clear which one is preferable.

Artem Barger
As far is back end is concerned, it is quite optimized. I am even sending gzipped content from server so as to get quick response from server.
goodsanket