Skip to content
This repository has been archived by the owner on Feb 9, 2018. It is now read-only.

Reduce data consumption #102

Open
2 of 3 tasks
vickychijwani opened this issue Aug 31, 2015 · 1 comment
Open
2 of 3 tasks

Reduce data consumption #102

vickychijwani opened this issue Aug 31, 2015 · 1 comment

Comments

@vickychijwani
Copy link
Owner

vickychijwani commented Aug 31, 2015

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
Copy link
Owner Author

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

vickychijwani added a commit that referenced this issue Apr 29, 2016
This fix simply limits the number of viewable posts to 30, until proper
pagination (#81) can be implemented with all its inherent complexities.
@vickychijwani vickychijwani removed this from the 1.0 milestone Apr 29, 2016
vickychijwani added a commit that referenced this issue Apr 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant