Why does my GitHub page not update its content?

A bit late to the party but I just had this issue and my solution isn’t covered by any of the above.

Specifically my issue was the following:

  • I had created a github.pages site with a custom domain.
  • I was pushing commits to the correct GitHub branch but not seeing the updates on the github.pages site.

Solution:
The issue turned out to be my browser caching the page (despite my having page caching disabled). To fix it I just cleared my cached data from the past hour and that worked instantly.

To clear the cache data in Chrome go to the Chrome menu then More Tools > Clear Browsing Data.

I don’t know what caused the caching, this github.pages/custom domain combo is the only thing that has ever caused it for me.

Leave a Comment