vickychijwani / quill

:ghost: [MOVED TO https://github.com/TryGhost/Ghost-Android] The beautiful Android app for your Ghost blog.
MIT License
553 stars 84 forks source link

Reduce data consumption #102

Open vickychijwani opened 9 years ago

vickychijwani commented 9 years ago

Consider a common scenario:

A user has a blog with 100s of blog posts. She makes some small changes to a draft, or creates a new draft, or updates a published post. Then when she goes back to the post list, we upload the local changes and then download and save to db every single post again (in one gigantic request), because the post list's ETag will have changed, which is obviously horrendously inefficient. In one casual test, this scenario (one small change to a single post) on a blog with 100 fairly long posts uses 250-350 KB of data! Imagine what happens when there are 5x more posts, and the user makes lots of small edits in several different posts!

These should help:

vickychijwani commented 9 years ago

The new Network Monitor in Android Studio 1.4 may help with this: http://android-developers.blogspot.in/2015/09/android-studio-14.html