Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(upload): support rapid upload on web #7851

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

KirCute
Copy link
Contributor

@KirCute KirCute commented Jan 20, 2025

在前端新增一个上传选项Try rapid,当选中时,前端会计算文件的 MD5、SHA1 和 SHA256,并通过X-File-Md5X-File-Sha1X-File-Sha256三个请求头传输给后端,这将避免驱动将文件缓存在服务端计算哈希,且在触发秒传时避免前端传输无用的文件流。

@KirCute KirCute changed the title feat(upload): support rapid upload on web perf(upload): support rapid upload on web Jan 20, 2025
@KirCute
Copy link
Contributor Author

KirCute commented Jan 20, 2025

Front-end part AlistGo/alist-web#237

@xhofe xhofe merged commit 5eff8cc into AlistGo:main Jan 27, 2025
6 checks 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.

2 participants