tentwentyfour / nextcloud-link

Javascript/Typescript client that communicates with Nextcloud's WebDAV and OCS APIs
MIT License
56 stars 7 forks source link

Replace current webdav-client or write our own. #26

Closed kwisatz closed 7 months ago

kwisatz commented 3 years ago

https://github.com/OpenMarshal/npm-WebDAV-Client still uses the deprecated request module.

We should either find alternative implementations (e.g. https://github.com/perry-mitchell/webdav-client/) or alternatively write our own using either the fetch API or e.g. axios).

floriansimon1 commented 3 years ago

+1000

I guess the performance issues come from npm-WebDAV-Client and I suppose we could actually benefit a lot from an upgrade.

kwisatz commented 3 years ago

Together with @fedus and @lattam we had some ideas for performance improvements. Some in the client, but some also through extending the Nextcloud API, giving us OCS endpoints to replace the natively slow WebDAV calls. I don't know if either one has some numbers on the impact of webdav-client on all this from profiling ?