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

缓存的问题,首页用伪静态,但是无论用什么都缓存不了 #14

Closed
yishuge123 opened this issue Jun 10, 2022 · 8 comments

Comments

@yishuge123
Copy link

缓存的问题,首页用伪静态,但是无论用什么都缓存不了

@iwind
Copy link
Contributor

iwind commented Jun 10, 2022

可以在浏览器上或者访问日志里查看X-Cache,里面有具体的原因,参考:https://goedge.cn/docs/Server/Cache.md#%E7%BC%93%E5%AD%98%E7%8A%B6%E6%80%81

@yishuge123
Copy link
Author

yishuge123 commented Jun 10, 2022 via email

@iwind
Copy link
Contributor

iwind commented Jun 10, 2022

URL精准匹配中不包含域名,

@yishuge123
Copy link
Author

能给个匹配首页缓存的正则么,因为没有带index.html

@iwind
Copy link
Contributor

iwind commented Jun 10, 2022

请仔细阅读表单中每个参数的说明。

@iwind
Copy link
Contributor

iwind commented Jun 10, 2022

选择条件类型:URL精准匹配
URL完整路径:/

@iwind
Copy link
Contributor

iwind commented Jun 10, 2022

这个参数名称可能会产生误导,后面考虑改成叫“请求路径”,可能会好一些。

另外如果是我们的用户可以加群更方便与大家交流: https://goedge.cn/community

@yishuge123
Copy link
Author

好的,我自己研究下

@iwind iwind closed this as completed Jun 20, 2022
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

2 participants