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

用 etag 减少下载量 #136

Open
linonetwo opened this issue Sep 21, 2023 · 0 comments
Open

用 etag 减少下载量 #136

linonetwo opened this issue Sep 21, 2023 · 0 comments

Comments

@linonetwo
Copy link
Collaborator

linonetwo commented Sep 21, 2023

在拉取 html 或 json 前,可以先请求 etag,如果不变则不下载,直接用缓存的 html

不过这个目前意义不大,因为现在大家的 wiki 大都在 Github 上,构建还是挺快的。

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