Better HN
topnewbestaskshowjobs
Log inSign up

sarahhudson

4 karma · joined Jul 17, 2019 (7y ago) · 5 submissions

Submissions

comment 4y ago · link · parent

> I went to the Next.js website, looked at some of the logos of the companies using the framework, and started typing their domains into PageSpeed Insights.

This is going to be heavily conflated with so much other stuff that is nothing to do with SSR, that it is useless.

It is probably more a test of the underlying server performance. And whether a CDN is used (if you use Next with Vercel you will get a CDN, but not everyone does necessarily use Vercel).

Also I am guessing PageSpeed doesn't wait for angular to do the client side render? So yes <html><script ..></html> will load pretty fast.

Also a lot of NextJS people are going to be correlated with 'build it and ship it quick' bent, and may not tune performance up. I imagine Angular people are more 'long term product' people, in general.

Also if you are doing a SPA on Next, you can set up static file generation if rendered page = f(url) not f(url, user_state). Then those can be geographically cached across a CDN. You can do that in a way that say you have product_list.csv, you can build out the static site.

I just feel Angular vs. Next = apples vs. orange trees.

comment 4y ago · link · parent

They wont, but the cat is out of the bag. It is data, and data gets leaked, shared in the open, shared in the dark. Researchers can be bribed.

It is like: you can not talk to your kids about drugs and pretend they don't exist ... or you can.

comment 7y ago · link · parent

Setting up SSL yourself, even with the wonderful scripts from Let's Encrypt, isn't the simplest solution IMO.

comment 7y ago · link · parent

This is great for Amazon publicity wise.