Skip to content Skip to sidebar Skip to footer

Javascript Xhr Request Throttled On Background Tab On Mobile - Solution?

Would like some assumption validation and opinions on solutions to a js xhr throttling problem I seem to be running into on Chrome on Android when the phone screen is off (browser

Solution 1:

Ok did some testing and looks like with Chrome on Android (with the above versions) shuts off XHR requests in web workers at ~5 minutes into the screen being turned off. XHR requests are then queued and are all sent once the screen reactivates.

So the approach of putting XHR requests into web workers to keep them going in the background doesn't work.

Post a Comment for "Javascript Xhr Request Throttled On Background Tab On Mobile - Solution?"