edx-app-android icon indicating copy to clipboard operation
edx-app-android copied to clipboard

Pages download way too much data than needed

Open sh-zam opened this issue 5 years ago • 3 comments

When clicking on the text section in course or any section with text the page, it takes way too much time to load 4-5 seconds. Even if the page has only few KBs of text in it. I tried recording and found that a page less than 100KB downloaded content of about 5MB.

edxtest

^ this page consumed downloaded 5MBs of data

sh-zam avatar Aug 11 '18 10:08 sh-zam

I think it might be because your AuthenticatedWebView is authenticating after every single page request, as written in the class documentation.

sh-zam avatar Aug 11 '18 12:08 sh-zam

Agree, sometimes you have to wait quite a while to just load checkbox. But question is if this could be changed to something better.

TPiotr avatar Aug 13 '18 16:08 TPiotr

This is something that we know and is on our radar to be taken care of in the near future. p.s. Don't have a strict timeline as to when we'll be looking at it, but its there in our upcoming projects.

Thanks for flagging the issue though! It'll be great if you guys can propose a solution may be through an open source pull request. We'll be more than happy to review it and get the job done!

miankhalid avatar Aug 15 '18 07:08 miankhalid