antfu-collective / vitesse

🏕 Opinionated Vite + Vue Starter Template
https://vitesse.netlify.app/
MIT License
8.8k stars 932 forks source link

Flash on reload without cache #428

Closed jbaubree closed 1 year ago

jbaubree commented 1 year ago

Describe the bug

When you are on a subpage like: https://vitesse.netlify.app/hi/test If you refresh the page disabling cache with CMD + SHIFT + R, index page will be loaded before /hi/test page. We can see that in network render. Is this a vite-ssg issue ? Any solution to fix this ?

Capture d’écran 2022-09-28 à 17 22 54

Reproduction

https://vitesse.netlify.app/hi/test

System Info

Browser production env

Used Package Manager

n/a

Validations

userquin commented 1 year ago

https://github.com/antfu/vitesse/discussions/169

userquin commented 1 year ago

Check last comment: https://github.com/antfu/vitesse/issues/252#issuecomment-1046085093

jbaubree commented 1 year ago

Oh thanks, sorry for duplication