alist icon indicating copy to clipboard operation
alist copied to clipboard

建议能够禁用webdav的缓存

Open aiselp opened this issue 2 years ago • 5 comments

Please make sure of the following things

  • [X] I have read the documentation.
  • [X] I'm sure there are no duplicate issues or discussions.
  • [X] I'm sure this feature is not implemented.
  • [X] I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

使用webdav配合其他同步软件使用时,由于缓存原因经常出现上传了文件却找不到文件而引发各种错误。

Suggested solution / 实现思路

No response

Additional context / 附件

截图虽然使用的是2.6版本,但最新的3.1版本也有同样问题 Screenshot_20221005211601

aiselp avatar Oct 11 '22 02:10 aiselp

我这不知道算不算是同样的问题,文件事实上已经上传成功了,但是Zotero经常提示上传失败,nginx已经设置了405200的转发

[JavaScript Error: "Upload request 1/KKHFAPLK failed"]

[JavaScript Error: "您的 WebDAV 服务器对 PUT 请求返回了 HTTP 405 错误。

如果您频繁收到此消息,请检查您的 WebDAV 服务器设置,或联系 WebDAV 服务器的管理员。

URL:https://findyy:********@xxx25.xyz/dav/zotero/KKHFAPLK.zip" {file: "chrome://zotero/content/xpcom/storage/webdav.js" line: 1496}]

[JavaScript Error: "Upload request 1/C8T4CJ3T failed"]

[JavaScript Error: "您的 WebDAV 服务器对 PUT 请求返回了 HTTP 405 错误。

如果您频繁收到此消息,请检查您的 WebDAV 服务器设置,或联系 WebDAV 服务器的管理员。

findyy99 avatar Oct 12 '22 15:10 findyy99

+1 使用网盘做图床,图床通过alist上传后,必须等待缓存刷新后才可访问。

354770288 avatar Oct 18 '22 07:10 354770288

有个手动刷新的按钮 这个可以强刷文件目录吗?

JsonSong89 avatar Nov 07 '22 02:11 JsonSong89

Hello, this issue has been inactive for more than 30 days and will be closed if inactive for another 30 days.

github-actions[bot] avatar Jan 01 '23 00:01 github-actions[bot]

感觉像是文件上传 / 删除一类的操作没有触发缓存更新(可能需要 RWMutex)导致的,我对这个问题同样关心。

evlic avatar Jan 27 '23 17:01 evlic

This issue was closed due to inactive more than 60 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again.

stale[bot] avatar Feb 22 '23 14:02 stale[bot]

有同样的需求

greatbody avatar Jan 04 '24 14:01 greatbody

之后发现这个问题不是缓存的原因,而是一刻相册会把上传的图片全部重命名,就造成上传成功却找不到图片

aiselp avatar Jan 17 '24 14:01 aiselp