]> source.dussan.org Git - nextcloud-server.git/commit
perf(files): Cache `getContents` function used for uploader
authorFerdinand Thiessen <opensource@fthiessen.de>
Thu, 1 Aug 2024 19:20:07 +0000 (21:20 +0200)
committerskjnldsv <skjnldsv@protonmail.com>
Wed, 14 Aug 2024 07:47:56 +0000 (09:47 +0200)
commitee4fb148b3430d64b9d7fb514ef6ea1466c006f9
tree22027821ce82f92d25089ffd284950533c3c3135
parent4920f9049503cc71b3d202786bb0582e75746d60
perf(files): Cache `getContents` function used for uploader

Instead of trigger a PROPFIND for every new-menu entry clicks,
or conflict handling of uploads, we can just use the cached content from the file store.
If we do not have any cache entry we fetch new, but otherwise this is not needed.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
apps/files/src/components/NewNodeDialog.vue
apps/files/src/store/files.ts
apps/files/src/views/FilesList.vue