gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
76.27k stars 7.55k forks source link

Page flicker on navigation and FOUC #10055

Closed pensivedog closed 2 years ago

pensivedog commented 2 years ago

This is a reopening of the issue located here:

https://github.com/gohugoio/hugo/issues/4210

I'm experiencing a very fast full-page white flash/flicker on page load when navigating Hugo-based websites. There are also frequent flashes of unstyled content. This is happening with every theme demo I have tried from here:

https://themes.gohugo.io/

It also happens with the Hugo website itself: https://gohugo.io/

I'm experiencing this in Chrome, Firefox, and Edge on Windows 10.

I'm not experiencing it when previewing any Gatsby theme demos, and it seems to depend on each theme architecture with Jekyll - some have FOUC issues and some don't.

Any ideas why this could be happening with ALL Hugo-based websites and if there's any way to fix it?

jmooring commented 2 years ago

Please use the forum (https://discourse.gohugo.io/) for questions and troubleshooting. We prefer to use GitHub for verified bugs and vetted enhancements. Thanks.