Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That is misleading. Open the browser and request the app and you'll see the first cold load will take many many seconds since Vite didn't load and compile the app yet.

If you reload the second time will be much faster since it will serve from it's memory cache.



That does take a few seconds, for me. But I could see how that could get painful on larger apps.

I'm not trying to mislead... but it would be good to know what they are actually measuring.


They are measuring the time until Vite is ready to serve requests, but then they compare it to the time of the webpack dev server, not mentioning that WebPack will have everything compiled at that time unlike Vite.

Vite is indeed much faster than webpack, but they use this highly misleading "vite ready to serve in 100 ms" stat.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: