Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache albums as we go along #41

Closed
oparoz opened this issue Feb 25, 2015 · 4 comments
Closed

Cache albums as we go along #41

oparoz opened this issue Feb 25, 2015 · 4 comments

Comments

@oparoz
Copy link
Contributor

oparoz commented Feb 25, 2015

In Gallery+, we're not mapping the entire cloud in memory any more, which means that every folder change will trigger a request to the server to get a new list of files.

We could improve the situation by caching what we receive and check that cache before making a new request.

@oparoz
Copy link
Contributor Author

oparoz commented Apr 19, 2015

Make sure store the configurations as well since we're scanning the whole parent tree every time we enter an album.

@oparoz oparoz added this to the Performance fixes milestone May 12, 2015
@oparoz oparoz modified the milestones: backlog, Performance fixes Jun 20, 2015
oparoz added a commit that referenced this issue Jun 21, 2015
@oparoz
Copy link
Contributor Author

oparoz commented Jun 21, 2015

I didn't think it would make that much of a difference, but apparently we can notice a 100ms difference in loading speed... but the change is more dramatic if you have hundreds of pictures in a folder...

@jospoortvliet @deMattin, since you have large collections, see if you notice the difference when using master (for 8.0).

@oparoz oparoz modified the milestones: 12, backlog Jun 22, 2015
@oparoz
Copy link
Contributor Author

oparoz commented Jun 22, 2015

This is now also available on the dev branch for 8.1

@oparoz
Copy link
Contributor Author

oparoz commented Jun 22, 2015

Or you could use ultimatedev which also contains all the latest PRs :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant