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

加上插件后能否将Cache-control字段去除 #11

Open
pandatools opened this issue Sep 27, 2024 · 1 comment
Open

加上插件后能否将Cache-control字段去除 #11

pandatools opened this issue Sep 27, 2024 · 1 comment
Labels
triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@pandatools
Copy link

pandatools commented Sep 27, 2024

image 能否去掉Cache-control字段
@pandatools pandatools changed the title 加上插件后能否将no-cache字段 加上插件后能否将Cache-control字段去除 Sep 27, 2024
@JohnNiang
Copy link
Contributor

JohnNiang commented Sep 30, 2024

建议提供更多的上下文信息,说明一下为什么需要删除 Cache Control 头。

我们之所以需要加上 Cache-Control: no-cache,是因为我们期望用户更新文章后,访客端能够得到及时响应,并且防止中间的反向代理工具进行缓存。

/triage needs-information

@f2c-ci-robot f2c-ci-robot bot added the triage/needs-information Indicates an issue needs more information in order to work on it. label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

2 participants