Ways to increase performance when set big value to innerHTML

后端 未结 7 1851
无人及你
无人及你 2020-12-05 08:25

I\'m trying to set a huge (200K) response to innerHTML of a node. The goal is to get better time than 2.7 sec in Internet Explorer 6.

Any ideas?

7条回答
  •  攒了一身酷
    2020-12-05 08:55

    why not bring the response in json format and process it on the client side, for example here a big amount of data is driven each time you change any navigation option, and all rows are rendered by the client.

提交回复
热议问题