gpt4 book ai didi

github - 如何强制 cdn.rawgit.com 使用更新的文件

转载 作者:行者123 更新时间:2023-12-03 22:30:00 25 4
gpt4 key购买 nike

我正在使用 cdn.rawgit.com 来托管我的一些脚本和项目的 css,但我无法刷新它。根据常见问题解答:

Requests to cdn.rawgit.com are routed through MaxCDN's super fast content delivery network, and are cached permanently the first time they're loaded. This results in the best performance and reduces load on RawGit and on GitHub, but it means that reloading won't fetch new changes from GitHub.



这是否意味着我永远无法刷新?或者有没有办法强制刷新以使用最新版本?

最佳答案

是的,永久意味着永远不会。

从文档:

Since files are not refreshed after the first request, it's best to use a specific tag or commit URL, not a branch URL.



这本身不会更新文件,但它允许您指定新版本。

关于github - 如何强制 cdn.rawgit.com 使用更新的文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23537239/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com