Comments (4)
演示环境中分享过期的文件仍然能下载,应该是CDN的缓存:
cache-control: max-age=10800
x-cache: HIT
from jmal-cloud-view.
之前分享的文件被别人取消了,
我测试的时候分享过期了还能用http:{host}/api/file/{username}/{path}/{filename}访问
一旦我取消那个过期的分享,url就立即不能访问了,这是缓存问题吗
from jmal-cloud-view.
文件取消分享或者分享过期都是一样的,你可以使用curl -D - -o example.txt http://example.com/file.txt
试试,看看是否有缓存
from jmal-cloud-view.
好像确实是缓存带来的问题
from jmal-cloud-view.
Related Issues (20)
- 文件夹上传时,子级目录及文件没上传
- 增加 ldap 登录用户filter 过滤
- 文章和独立界面无法删除
- 是否可以给文件添加标签系统,便于素材管理检索 HOT 10
- 同一目录上传两次,生成两次分享链接,链接相同但是不同用户打开内容不同(没有更新) HOT 1
- 运行./js.sh install 拉取office组件时总是卡住下载不动 HOT 2
- JmalCloud问题及优化建议,内容较多,请您耐心阅读 HOT 13
- JmalCloud使用反馈 HOT 4
- 2.7版本如何升级? HOT 3
- 在运行npm run dev时会报错:Cannot find module 'color-name',强行npm install color-name之后会提示:Invalid Version,请问作者是怎么解决的呢? HOT 3
- 前端地址 HOT 1
- 登陆用户不能用中文 HOT 1
- 在哪里设置阿里或者腾讯 HOT 1
- 打开office文档出现错误 HOT 5
- 我看主容器自带8088端口,为什么还要带nginx? HOT 2
- 简化docker是必要的。
- 在线案例看不了了 HOT 3
- 那些文件类型能支持多个用户同时实时编辑的效果? HOT 16
- 写文章点击后,报错404了? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmal-cloud-view.