4 ms·
Next/React sites can be SSRd just fine. If a db call is slow it's going to be just as slow for a PHP page as for a React page.
by robertoandred 1y ago
Next/React sites can be SSRd just fine. If a db call is slow it's going to be just as slow for a PHP page as for a React page.
- martinald 1y agoBut even if you SSR them you still need to send at least 100KB (and probably far more) of JS down to the browser to hydrate state and handle any interactivity.
- robertoandred 1y agoYou need JS to handle interactivity no matter what. And 100KB is nothing, a single image is larger.
- martinald 1y agoDo you? On a blog? 100KB of JS is not the same as an image. Image can be downloaded and decompressed in microseconds even on a slow device. 100KB+ of JS can take a lot longer.