Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1021863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:22:32+00:00 2026-05-16T11:22:32+00:00

I have a mobile app, which is pretty data driven, though only through text

  • 0

I have a mobile app, which is pretty data driven, though only through text and images.
In the current version each click or touch requires pulling new data from the server (appache/php). With network delay this easily takes 1-2 seconds for the first content to appear, which is far too long.

I have heard about and considered the following options, but are not sure if some of them might be counter productive, or if I have left something important out?

  • Download all data from the start, in a big bunch with a loading screen?
  • Run a prefetching thread, predicting and downloading data the user might want, in the background?
  • Keep the connection open to the server at all time?
  • Load different parts of the data in different connections in parallel? (Similar to facebook)
  • Use heavy data compression?

A comprehensive article on the matter would also be a good answer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T11:22:33+00:00Added an answer on May 16, 2026 at 11:22 am

    I would say that most of those suggestions are … pretty average. Except for using compression. Definitely enable compression on the web server that you are using. You definitely do not want to keep a connection open or have multiple connections. The biggest problem for mobile devices is latency, rather than bandwidth, so using multiple connections won’t help, but will drain the battery quickly. As for keeping the connection open, don’t even think about doing that. That is one of the biggest postulates of mobile development – only keep a connection open when you need it.

    The rule of thumb for mobile thin clients is to download the least amount of data possible when it’s absolutely necessary. Here are a few tips:

    • Do not send much metadata with your data. In case of JSON, think about changing the structure so that you are not sending the field names for every record. Take the below JSON for example:
    {
     success: true,
     data:[
       {ProductName: "Coca-Cola can", Weight: 380, imageUrl: "http://path.to/image.png"},
       {ProductName: "Gillete deodarant", Weight: 500, imageUrl: "http://path.to/image.png"}
     ]
    }
    

    As you can see there are a lot of duplicated field names, you can get rid of those to reduce the payload like so:

    {
     success: true,
     fields: {"ProductName": 0, "Weight" : 1, "imageUrl": 2}
     data:[
       ["Coca-Cola can", 380, "http://path.to/image.png"],
       ["Gillete deodarant", 500, "http://path.to/image.png"]
     ]
    }
    
    • Reduce the amount of data that gets sent each time. Don’t send enough data for 10 screens at once. Provide maybe two or three screens worth and use infinite scrolling or some sort of paging.

    • Investigate HTTP caching. Make sure the caching headers are set and make sure that the webclient you are using respects those headers.

    • Cache aggressively. Have a look at any twitter client for iPhone/Android. They don’t download the whole lot of visible tweets every time they start up, they are stored locally.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an iPhone app which pretty much is a mobile app for a
I'm currently working on a cross-platform mobile app and have gone through the process
I have a single page jQuery Mobile app with four data-role='pages' in place; so,
i have a design issue regarding sending user data from a mobile phone app
I have a Mobile App (iPhone and Android) which allows user to login to
I have a jQuery Mobile web app which targets iOS and Android devices. A
We have developed a mobile app development toolkit which currently allows graphical designing of
I have a mobile app where I need try and predictably guess which residential
I am currently developing a mobile app which need the current position of the
I am working on a mobile app which needs a lot of data. Simply

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.