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

利用 FileWatcher 优化静态资源服务器 #112

Open
scx567888 opened this issue Oct 24, 2024 · 0 comments
Open

利用 FileWatcher 优化静态资源服务器 #112

scx567888 opened this issue Oct 24, 2024 · 0 comments

Comments

@scx567888
Copy link
Owner

现在每次 都会去 磁盘查询文件是否被修改 此处改为被动 既前台发过来一个 请求 先查缓存 (存储文件名和对应的文件信息) 缓存没有 去文件系统查询 同时如果文件系统发生修改 则 修改缓存
问题: 此处如何判断文件不存在 即文件不存在应该怎么处理

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

1 participant