52
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

GitHub Pagesで反映されないページをすぐに反映させる方法

Last updated at Posted at 2019-01-09

この方法はGitHub Pagesでファイルを更新したときにすぐに反映されないときの一時的な対処法です。

対処法

URLの末尾に ?version=[コミットID] を付けるだけです。
? から始まる文字列をつけてURLが変われば何でも良いようです。

https://example.github.io/index.html?version=a1b2c3d
https://example.github.io/index.html?asdfsda

(元のURLでも1〜2時間後には更新が反映されていました。)

52
15
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
52
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?