Why do the two OU trees in the add user interface so different in loading time?

Just testing it here, and the right hand tree loads right away whereas the left hand tree takes several painful minutes to load. Can they be the same? Could this be an urgent fix?

https://ebola.dhis2.org/dhis-web-maintenance-user/showUpdateUserForm.action?id=60442

Thanks,

Knut

···

Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 146 381

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Hi,

under settings > general > offline org unit levels set it to something like 3, and it will speed up by reducing the no of org units stored locally.

Lars

···

On Wed, Nov 19, 2014 at 5:18 PM, Knut Staring knutst@gmail.com wrote:

Just testing it here, and the right hand tree loads right away whereas the left hand tree takes several painful minutes to load. Can they be the same? Could this be an urgent fix?

https://ebola.dhis2.org/dhis-web-maintenance-user/showUpdateUserForm.action?id=60442

Thanks,

Knut

Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 146 381

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Thanks, Lars, I should have thought of that.

But still don’t understand why these trees are/should be different?

···

On Wed, Nov 19, 2014 at 4:24 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi,

under settings > general > offline org unit levels set it to something like 3, and it will speed up by reducing the no of org units stored locally.

Lars

On Wed, Nov 19, 2014 at 5:18 PM, Knut Staring knutst@gmail.com wrote:

Just testing it here, and the right hand tree loads right away whereas the left hand tree takes several painful minutes to load. Can they be the same? Could this be an urgent fix?

https://ebola.dhis2.org/dhis-web-maintenance-user/showUpdateUserForm.action?id=60442

Thanks,

Knut

Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 146 381

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 146 381

Norway: +4791880522

Skype: knutstar

http://dhis2.org

It’s because the tree works offline for data entry so we need to cache it in browser. It will only re-download when there is a change in org units.

We can try to change it so that it only caches for the data entry screen.

···

On Wed, Nov 19, 2014 at 5:30 PM, Knut Staring knutst@gmail.com wrote:

Thanks, Lars, I should have thought of that.

But still don’t understand why these trees are/should be different?

On Wed, Nov 19, 2014 at 4:24 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi,

under settings > general > offline org unit levels set it to something like 3, and it will speed up by reducing the no of org units stored locally.

Lars


Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 146 381

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Nov 19, 2014 at 5:18 PM, Knut Staring knutst@gmail.com wrote:

Just testing it here, and the right hand tree loads right away whereas the left hand tree takes several painful minutes to load. Can they be the same? Could this be an urgent fix?

https://ebola.dhis2.org/dhis-web-maintenance-user/showUpdateUserForm.action?id=60442

Thanks,

Knut

Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 146 381

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Yes, I think that would be good.

Any other tips for making things faster on extremely poor connections most welcome! (I know data entry has already been highly optimized)

···

On Wed, Nov 19, 2014 at 4:41 PM, Lars Helge Øverland larshelge@gmail.com wrote:

It’s because the tree works offline for data entry so we need to cache it in browser. It will only re-download when there is a change in org units.

We can try to change it so that it only caches for the data entry screen.

On Wed, Nov 19, 2014 at 5:30 PM, Knut Staring knutst@gmail.com wrote:

Thanks, Lars, I should have thought of that.

But still don’t understand why these trees are/should be different?

On Wed, Nov 19, 2014 at 4:24 PM, Lars Helge Øverland larshelge@gmail.com wrote:

Hi,

under settings > general > offline org unit levels set it to something like 3, and it will speed up by reducing the no of org units stored locally.

Lars


Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 146 381

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Wed, Nov 19, 2014 at 5:18 PM, Knut Staring knutst@gmail.com wrote:

Just testing it here, and the right hand tree loads right away whereas the left hand tree takes several painful minutes to load. Can they be the same? Could this be an urgent fix?

https://ebola.dhis2.org/dhis-web-maintenance-user/showUpdateUserForm.action?id=60442

Thanks,

Knut

Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 146 381

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 146 381

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Make sure compression is turned on at the web server (I assume it is). Turn
caching on under settings > cache strategy.

You can also turn off offline support pr dataset… so it will load faster (especially for custom forms)

···

On Thu, Nov 20, 2014 at 2:49 AM, Lars Helge Øverland larshelge@gmail.com wrote:


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Morten

Make sure compression is turned on at the web server (I assume it is). Turn caching on under settings > cache strategy.

We have fixed this now in trunk - the ouwt tree loads instantly now.

Lars

Great, thanks!

···

On Thu, Nov 20, 2014 at 3:12 PM, Lars Helge Øverland larshelge@gmail.com wrote:

We have fixed this now in trunk - the ouwt tree loads instantly now.

Lars

Knut Staring

Dept. of Informatics, University of Oslo

Liberia: +231 770 496 123 or +231 886 146 381

Norway: +4791880522

Skype: knutstar

http://dhis2.org