Thursday, 23 January 2014

Techniques to Increase Performance of PhoneGap Applications

1-> Dont create the UI on server.
     Dont create UI on server,it makes the application slow.

2-> Dont wait for the data to display UI.
    Dont wait for data to display UI.display UI first and then update data.

3-> Cache Everything
     cache everything as much you can and display the existing data first in UI then update the UI by the updated data.don't wait for updated data to display all data in UI.but caching much is also make application slow.

3-> avoid click event
     Click event is very slow as compare to touchStart event. so use touchStart in place of click.

4-> Optimize image.
5-> Limit shadow and gradients.
6-> minimize browser re-flows.

No comments:

Post a Comment