Deleting a branch is permanent. It CANNOT be undone. Continue?
No due date set.
This issue currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》
复现步骤:
1、在代码仓上传一个pptx或pdf文档,文档名称为:abc.pptx。
2、在本地将文档内容更新,保持文档名称abc.pptx不变。
3、在代码仓上删除abc.pptx文档。
4、在代码仓重新上传更新后的abc.pptx文档。
5、在代码仓查看abc.pptx文档,应该是第二次上传的文档,但实际显示第一次上传的文档。
pdf可以复现。临时解决办法:清空浏览器缓存,重新查看。
文本文件,不存在该问题。
excel文件,不存在该问题。
此bug是浏览器缓存导致。
当浏览pdf文件时,前端会向后台发请求下载此文件,当已经下载过同名文件时,浏览器直接返回了缓存中的文件,导致打开的文件还是原来的。
可以设置此请求不使用浏览器缓存。
https://www.cnblogs.com/web-learn/p/15208864.html
采取http信息头设置Cache-Control:max-age=0的方式来解决。
已解决,可测试。
通过测试,关闭此单。