在改变index.html之后,github页面显示更改需要多长时间 [英] how long does it take for github page to show changes after changing index.html

查看:211
本文介绍了在改变index.html之后,github页面显示更改需要多长时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想知道需要多长时间才能使用github页面显示我已添加到回购的新项目。我改变了index.html,但是在10分钟后它仍然出现在上一页...

解决方案

现场需要大约10分钟才能显示出来。后续的构建只需要几秒钟,就可以将更改推送到GitHub存储库。



但是,根据如何配置您的域名,可能会有额外的时间让CDN缓存中断。



注意:使用子域名(例如 yourproject.github.io )是推荐域名设置,但这意味着页面构建需要更长时间才能显示,因为它具有使用GitHub CDN的好处。


I am just wondering how long does it take github page to show the new items that I have added to the repo. I changed index.html but after 10 mins it still showed up the previous page...

解决方案

The first time you generate your site it will take about 10 minutes for it to show up. Subsequent builds take only seconds from the time you push the changes to your GitHub repository.

However, depending on how your have your domain configured, there may be extra time for the CDN cache to break.

Note: using a subdomain, such as yourproject.github.io is the recommended domain setup, but does mean page builds take longer to show up since it has the benefit of using the GitHub CDN.

这篇关于在改变index.html之后,github页面显示更改需要多长时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆