3 ms·
But this will consume CPU and RAM and will make the page user is browsing work slower. Especially for users with low-end hardware. If you use server-side rende
by codedokode 8y ago
But this will consume CPU and RAM and will make the page user is browsing work slower. Especially for users with low-end hardware.
If you use server-side rendering (for example, if you use PHP on your server) then you won't need all of this and pages will load instantly without any complicated preloading.
- EB66 8y ago> But this will consume CPU and RAM and will make the page user is browsing work slower. Not necessarily -- Web Workers enable you to take advantage multiple CPU cores. You could, potentially, offload some of the rendering work to a CPU core that would otherwise go unused. But I agree, if you went to the extreme case, pre-rendered everything the user could click on and utilized all CPU cores, then you'd definitely create a performance problem for yourself.