In some condition. I need send many many XMLHttpRequst(for example: stat github data in client side)
may be 100 or more request. it's ok in PC browser. but got bad performance in mobile browser.
so, I think, whether there is a lib, to hook into XMLHttpRequst, limit max concurrency.
Web component loaded and send 100+ http request in 3s.
The good way is splice the request, send 10 request with 10 times.
Not just simple like this: [[1,2,3...10],[1,2,3...10],...[1,2,3...10]]
Like a queue list, if previous request done. then put next request in to the queue
But make sure the max request number always equal 10
I think API should look like this:
XMLHttpRequest.setMax(10)
Is there have exist a lib implement this? or who can help?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too