Ajax Request On Phonegap Faster On 2g Then 3g
While developing a PhoneGap application for iOS and Android I found a strange behavior. Uploading a file to my server is faster via 2G then 3G. This are the difference for a 265 kb
Solution 1:
We finally solved the problem for uploading stuff via 'slow' 3G.
The problem really was different. We used Vodafone as mobile operator, but we tried another operator (*bliep) and it was working well. So Vodafone was the problem. We found out that Vodafone was modifying the headers. It changed Connection: close
to Connection: Keep-Alive
.
Now we using an SSL (HTTPS) connection, so Vodafone can't change any headers. We haven't had any problems after changing to SSL.
Post a Comment for "Ajax Request On Phonegap Faster On 2g Then 3g"