Skip to content

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

Open
@reckless-huang

Description

@reckless-huang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions