Skip to content

Implement lazy loading for albums #1446

@emilsenan

Description

@emilsenan

Hi,

in my setup I have albums with large amount of photos in it. When opening such an album performance is rather low, it takes 5 seconds to load an album with ~11k photos in it. That surprised me first, because I have even more photos in timeline view and there's no performance issue there.

Looking at MySQL statements log I noticed that each time an album is opened, the oc_filecache table is queried for every photo in album first and only after that the album content is rendered. I assume the timeline view implements lazy loading properly, is it possible to apply same to albums?

Thanks,
Emil

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requestperformanceIssues related to performance

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions