Comments (2)
这里下载地址用了路径+名称去匹配,所以同名文件会有点问题,
使用文件id可以解决这个问题,但是http://xxx.zip这种伪静态的下载地址,看上去会比较友好,先尽量避免在同一目录下出现相同文件名的文件吧,或者你有更好的建议。
目录缓存有效期是一小时,现在是简单配置版本,没有后台管理,后期会在后台管理加一个手动同步缓存的按钮,同步cron也会改成可配置项。
from panindex.
问题解决了,通过删除掉缓存的 DB 文件让程序重新获取就行了。建议可以先增加一个 API,调用后让程序强制更新缓存。目前我的刷新缓存方法是通过命令行强制重启 Docker 实现刷新。
from panindex.
Related Issues (20)
- 更新3.1.2之后主页不显示文件 HOT 5
- How to get in touch regarding a security concern? HOT 5
- 配置123网盘需要注意什么吗?我的123网盘显示404 HOT 2
- 我发现我的阿里云盘被限速了。123防盗链检测也比较严重 HOT 1
- 完全缓存(DB)模式下分流负载功能优化
- panindex内存占用太高 HOT 1
- 天翼云盘登录失败然后程序被强退 HOT 2
- 问题反馈:“后台管理地址”和“网站图标(Favicon)”
- 本地磁盘挂载后,子目录有文件,打开却显示为空 HOT 1
- 安装的是v3.1.4版本,安装好以后显示v3.1.5.05170128,然后天翼云盘登陆失败 HOT 2
- 无法正确加载ui
- 阿里网盘和123盘显示错误 HOT 5
- webdav访问webdav网盘,出现302跳转并返回登录页面 HOT 1
- 能否增加多用户管理? HOT 1
- 天翼云盘部分文件显示不是左对齐,感觉前面有空格 HOT 4
- PanIndex Tool【获取Token】点击无反应 HOT 1
- mdui突然出现ui错误 HOT 1
- 3.1.5在centos6上缺包 HOT 2
- 公共API鉴权异常
- pdf页面预览,建议增加一行自动检测浏览器的代码,检测到edge浏览器就交给浏览器自己查看pdf文件,非edge浏览器就调用pdfview插件
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 panindex.