Code Monkey home page Code Monkey logo

Comments (2)

libsgh avatar libsgh commented on July 16, 2024

这里下载地址用了路径+名称去匹配,所以同名文件会有点问题,
使用文件id可以解决这个问题,但是http://xxx.zip这种伪静态的下载地址,看上去会比较友好,先尽量避免在同一目录下出现相同文件名的文件吧,或者你有更好的建议。
目录缓存有效期是一小时,现在是简单配置版本,没有后台管理,后期会在后台管理加一个手动同步缓存的按钮,同步cron也会改成可配置项。

from panindex.

kasuganosoras avatar kasuganosoras commented on July 16, 2024

问题解决了,通过删除掉缓存的 DB 文件让程序重新获取就行了。建议可以先增加一个 API,调用后让程序强制更新缓存。目前我的刷新缓存方法是通过命令行强制重启 Docker 实现刷新。

from panindex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.