Skip to content

Conversation

@juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented May 16, 2025

When opening an image we used to wait with displaying the image until the full directory listing was fetched. As a user I would expect the image i just clicked on to show up as fast as possible, loading the next/previous images is something that can be delayed and happen asynchronously.

To test just add a sleep(5) in https://github.com/nextcloud/server/blob/dc8e16c520cb8a9dd9903f9524957c075ce88d48/apps/dav/lib/Connector/Sabre/Directory.php#L230

@juliusknorr juliusknorr added 3. to review Waiting for reviews performances Performances issues and optimisations labels May 16, 2025
@juliusknorr juliusknorr requested review from skjnldsv and susnux May 16, 2025 05:47
@juliusknorr juliusknorr added this to the Nextcloud 32 milestone May 16, 2025
@skjnldsv
Copy link
Member

/compile

Signed-off-by: nextcloud-command <[email protected]>
@provokateurin provokateurin merged commit 4c87b03 into master May 16, 2025
31 checks passed
@provokateurin provokateurin deleted the perf/loading-order branch May 16, 2025 07:13
@juliusknorr
Copy link
Member Author

/backport to stable31

@backportbot backportbot bot added the backport-request Pending backport by the backport-bot label May 16, 2025
@juliusknorr
Copy link
Member Author

/backport to stable30

@juliusknorr
Copy link
Member Author

/backport to stable29

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

Labels

3. to review Waiting for reviews performances Performances issues and optimisations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants