O'Reilly logo

Mobile Web Performance Optimization by S. Niranga

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Offloading to Wi-Fi

If you are connecting to the network using 3G, 4G or HSPA regardless of the carrier, they use radio state machine to manage the radio resources. On the other hand, Wi-Fi connections are much more efficient than 3G and 4G. For Wi-Fi, there is no need for the state machine. As a developer, you can use this to your advantage.

Although there is less latency for connection setup, many applications fail to obtain this advantage. Offloading to Wi-Fi offers has several benefits, which are as follows:

  • Lower data cost
  • Extended battery life
  • Faster connection
  • Improved network traffic
  • Improved customer experience

However, if you use Wi-Fi extensively, it will drain your battery faster than compared to a 3G or 4G data connection. However, if you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required