Too large an AJAX response for mobile safari?

前端 未结 2 504
长发绾君心
长发绾君心 2021-01-15 12:07

I am running into a bit of a problem in debugging a web application for mobile safari. The web app is a front-end for a fairly complex server-side simulation tool. The ove

相关标签:
2条回答
  • 2021-01-15 13:05

    There is a known issue with Safari (both mobile and desktop) that limits AJAX response size to about 512K.

    0 讨论(0)
  • 2021-01-15 13:08

    I can't tell you the answer to your problem, but here's how I'd debug:

    • Try to get the server to send back only a few kb of data
    • See if you can print the size of the data
    • Break down the data into smaller more manageable chunks (JSON is meant to be small anyways)

    Not really an answer, like I said. More an approach.

    0 讨论(0)
提交回复
热议问题