vuejs / vitepress

Vite & Vue powered static site generator.
https://vitepress.dev
MIT License
13.31k stars 2.15k forks source link

Content disappeared after navigation (refresh on page or navigation accessing to page) #4107

Open reckless-huang opened 3 months ago

reckless-huang commented 3 months ago

Describe the bug

As my title, in my project, seems it happens every single time in production. Every time trying access to an article and then this issue came up with the should-be-displayed splashed for a second.

Reproduction

Seems this issue only happened in mine. In that case, to reproduce the issue, you need to access to https://blog.gostatus.cn/categories/others/2024/08/02/doit and choose any article, and then try to refresh the page. and you can also try to copy that page's address and try to access it in a new tab.

Expected behavior

The article showed normally without a totally blank page after a splash.

System Info

vitepress "1.3.2",
githubpage

Additional context

I apologize if this is caused by our misoperate during configuration. Visit https://github.com/reckless-huang/blog-vite check our configuration, if someone found something miserable and do have an idea to fix this, please tell me, I will be sincerely appreciated for your help.

Validations

reckless-huang commented 3 months ago

I copied the content from here https://github.com/vuejs/vitepress/issues/3649 but I'm not using a proxy like cloudflare

reckless-huang commented 3 months ago

or this site https://reckless-huang.github.io/archives

lulrai commented 2 months ago

@reckless-huang Did you manage to find a solution for this? I'm having the same issue

reckless-huang commented 2 months ago

@reckless-huang Did you manage to find a solution for this? I'm having the same issue not

reckless-huang commented 1 month ago

Can anyone fix this problem? Or is there something wrong with my configuration?

reckless-huang commented 1 month ago

@reckless-huang Did you manage to find a solution for this? I'm having the same issue

Do you have a follow-up @lulrai