Skip to content

Optimize WebDAV responsiveness and performance#25

Merged
VulcanoSoftware merged 1 commit into
mainfrom
optimize-webdav-responsiveness-8693918293161289991
Jul 5, 2026
Merged

Optimize WebDAV responsiveness and performance#25
VulcanoSoftware merged 1 commit into
mainfrom
optimize-webdav-responsiveness-8693918293161289991

Conversation

@VulcanoSoftware

Copy link
Copy Markdown
Owner

Optimized WebDAV performance by implementing metadata caching, reducing redundant lookups, and increasing concurrency during directory listings. This addresses the responsiveness issues reported by the user when using WinSCP.


PR created automatically by Jules for task 8693918293161289991 started by @VulcanoSoftware

This commit introduces several performance improvements to the WebDAV layer:
- Added a 1024-item LRU cache for file descriptors in `DCMsgFDRepository` to minimize Discord API overhead.
- Optimized `Folder.member()` and `Resource.__init__()` to reuse existing `DCFSFileRef` objects, eliminating redundant directory traversals.
- Increased `PROPFIND` concurrency from 10 to 20 in `asgidav/reqres.py` to speed up large directory listings.

These changes significantly improve the "smoothness" and responsiveness when browsing and accessing files via WebDAV.

Co-authored-by: VulcanoSoftware <113239901+VulcanoSoftware@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@VulcanoSoftware VulcanoSoftware marked this pull request as ready for review July 5, 2026 12:45
@VulcanoSoftware VulcanoSoftware merged commit 033510d into main Jul 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant