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

关于授权码模式下浏览器缓存对取消分享的影响 #200

Closed
pengcheng820 opened this issue Aug 3, 2023 · 5 comments
Closed

Comments

@pengcheng820
Copy link

关闭分享后,链接仍能打开
版本:1.8.3

@terwer
Copy link
Owner

terwer commented Aug 4, 2023 via email

@pengcheng820
Copy link
Author

是在浏览器隐私窗口模式下试的,依然可以

@terwer
Copy link
Owner

terwer commented Aug 10, 2023

183我这里测试,问题没有复现。如有其他问题可再次反馈。

删除 data/public 尝试重新操作看看。可能是历史不兼容。

另外,就算隐私模式,浏览器本身还是有缓存的。需要ctrl+shift+delete删除缓存。或者自己等待浏览器缓存失效。

image

这是浏览器的基本机制。本地文件有没有删除可直接去 data/public 查看,本地文件删除了就是取消成功。
而浏览器的缓存你在访问其他问也也是这个机制。因为是静态html,所以缓存可能取决于浏览器策略。

@terwer terwer closed this as completed Aug 10, 2023
@terwer terwer pinned this issue Aug 10, 2023
@terwer terwer changed the title 关闭分享后,链接仍能打开 关于浏览器缓存对取消分享的影响 Aug 10, 2023
@terwer terwer changed the title 关于浏览器缓存对取消分享的影响 关于授权码模式下浏览器缓存对取消分享的影响 Aug 10, 2023
@yikexiaoyao
Copy link

我关闭纯文字文档的分享后,将同一个链接放在另一个浏览器里还是能打开,该浏览器之前未打开过该链接

@yikexiaoyao
Copy link

yikexiaoyao commented Nov 15, 2023

建议时间戳后面使用随机码或者使用最新时间戳,每次打开默认重新获取,关闭后立刻重置随机码或者时间戳,避免资源继续链接,这样从整体上来看,地址发生了改变,再次访问需要重新发送请求,应该可以解决问题,虽然本地文件或许还在,但是效果上也算实现了结束分享,个人猜想,未经验证

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

No branches or pull requests

3 participants