nextcloud / gallery

DEPRECATED Gallery app was replaced by Photos
https://github.com/nextcloud/photos
GNU Affero General Public License v3.0
109 stars 58 forks source link

Download more information about sub-albums and their content #123

Open oparoz opened 8 years ago

oparoz commented 8 years ago

From @oparoz on March 3, 2016 22:40

Feature request

User type: All

User level: All

Description

With Pictures, the first step was to download information about the whole cloud to memory, which meant that if you had thousands of files, you would run into problems on some platforms.

In order to improve the performance of Gallery, the app now loads:

We could improve this by downloading information about:

Example A

The top album contains 20 sub-albums and 300 images Each sub-album contains 200 images

We currently load and array containing 300 + (20 x 4) = 380 references

With the new model, we would load 300 + 20 + (20 x 200) = 4320...

There may be a performance penalty when sorting or switching albums.

Sponsorship

None

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Copied from original issue: owncloud/gallery#557

oparoz commented 8 years ago

Retrieving additional information about sub-albums could be a first step

oparoz commented 8 years ago

First step implemented in #593