Skip to content

feat: rework public and permanent link resolving - #2981

Open
JammingBen wants to merge 3 commits into
mainfrom
feat/improve-private-link-resolving
Open

feat: rework public and permanent link resolving#2981
JammingBen wants to merge 3 commits into
mainfrom
feat/improve-private-link-resolving

Conversation

@JammingBen

@JammingBen JammingBen commented Jul 30, 2026

Copy link
Copy Markdown
Member

Description

Stop resolving single file public and permanent links into the file list before opening a file editor and instead directly resolve into the editor.

For users, this means faster resolving and less flicker. For the server, this means reduced server load because of less requests. It also makes the code more elegant since we can remove the openWithDefaultApp query handling from the file lists.

Numbers

Opening one text file:

Permanent link

Metric Before After
Dav-Requests 5 + n Thumbnail requests 4

Public link Unauthenticated

Metric Before After
Dav-Requests 5 + n Thumbnail requests 4

Public link Authenticated

Metric Before After
Dav-Requests 6 + n Thumbnail requests 4

closes #2961
fixes #2987

@JammingBen JammingBen self-assigned this Jul 30, 2026
@JammingBen
JammingBen force-pushed the feat/improve-private-link-resolving branch from b0a94bc to fbea00c Compare July 30, 2026 06:04
Stop resolving single file public and permanent links into the file list
before opening a file editor and instead directly resolve into the
editor.

For users, this means faster resolving and less flicker. For the server,
this means reduced server load because of less requests.
@JammingBen
JammingBen force-pushed the feat/improve-private-link-resolving branch from fbea00c to 8a96d12 Compare July 30, 2026 07:19
@JammingBen
JammingBen marked this pull request as ready for review July 30, 2026 10:03
@JammingBen
JammingBen requested a review from tammi-23 July 30, 2026 10:07
@AlexAndBear

Copy link
Copy Markdown
Member

IHMO having e2e tests for #2987 is crucial, @v-scharf what do you think ?

@v-scharf

Copy link
Copy Markdown
Contributor

IHMO having e2e tests for #2987 is crucial, @v-scharf what do you think ?

I added task for that opencloud-eu/qa#94

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Uploading to a public sub-folder doesn't work Private link to file loads file list before opening file

3 participants