QwikDev / qwik

Instant-loading web apps, without effort
https://qwik.dev
MIT License
20.7k stars 1.29k forks source link

[🐞] Qwik is slow when used first time #6879

Open ziimakc opened 2 weeks ago

ziimakc commented 2 weeks ago

Which component is affected?

Qwik Runtime

Describe the bug

When you visit qwik website first time every action (button click, menu open) has a delay from 0.1-1 sec. Which makes qwik a slow website from user perspective.

Reproduction

https://qwikui.com/docs/styled/introduction/

Steps to reproduce

Open qwik-ui website anc click around on menu or any component, you will feel a delay. This will work only if you not visited it previously. You can try phone or tablet.

System Info

-

Additional Information

No response

wanjohiryan commented 2 days ago

"Feels" qwik to me ;)

Can you share what device or devices you are using? iOS, PC, Tablet, Android... ?

Have you checked your network? That might be the issue 😅

ziimakc commented 2 days ago

@wanjohiryan it's android tablet, phone, windows linux pc. I have no problem with internet, it's super fast. Problem is that qwik doesn't prefetch components until you interact with them and for big components like menu it does like ~20 requests which of course will be visible slow and if you have a slow internet - it more noticeable. In my opinion it's a major flaw in qwik architecture.

What options do we have to solve this?