3 ms·
This is not a critique to the author, but for me, who just did classic webdev (server side templated html), this was very surprising. I am not that into webdev
by fadsasda432 11y ago
This is not a critique to the author, but for me, who just did classic webdev (server side templated html), this was very surprising.
I am not that into webdev, but shouldn't a page like HN be fast TODAY, as it has very basic functionality (CRUD)? I mean if this is slow, how can I expect acceptable performance from involved applications?
- error54 11y agoI think it's the firebase api that's slowing everything down.
- djm_ 11y agoThe problem is the site is not sending any (useful) HTML during the first HTTP request. Therefore the browser has to wait for the JS to render the page before it can even think about displaying anything. The fact the site then loads content from firebase is obviously a problem, but it's not so much firebase's problem as it is of the codebase itself - in an ideal world it should be rendering the initial HTML to send to the client on the server. I have seen React based websites with server side rendering work with firebase with much better performance.