remix logo

Hacker Remix

NextMaster: McMaster-Carr in Next.js

24 points by Rauchg 2 days ago | 13 comments

julienmarie 1 day ago

I'm sorry to say that there is nothing impressive and is far from a real world scenario:

- Images are super small.

- You can do exactly the same level of performance with http://instantclick.io/ to prefetch pages and aggressively cache content on the backend.

- The only dynamic functions are the cart ( session ) and the search. The rest is just navigation.

- There is quite no content

If we compare to the original:

This leaves out what is imho the most impressive part of McMaster website: the deep taxonomy of products and super detailed search with custom criteria per product type and sub type. This is the part that is the most amazing for me and the most complex on an e-commerce website to build *AND MAINTAIN* over time.

If we compare to normal e-commerce use-case, it's lacking a lot of features that have deep impact on website speed:

- No analytics and marketing tracking ( ecommerce without tracking is not realistic performance wise )

- No image gallery, no high resolution images

- No product description

- No product recommendation

- No faceted search

etc...

darepublic 23 hours ago

It is easy to load tracking separate of the initial render

jamesy0ung 1 day ago

Wow! That site is really fast.

echoangle 1 day ago

I don’t know if it’s ironic, but for me it is actually rather slow. When clicking on a category in the left bar, it takes about 2s to show, and if I press on a category in the right panel, it takes about 4s to show the subcategories. It feels really sluggish to be honest.

jamesy0ung 1 day ago

I'm using Firefox if that is relevant, and everything snaps up. There is literally no delay on any of the website for me.

darepublic 23 hours ago

I assume is it prerendered vs server side rendered

dzhiurgis 1 day ago

Faster than mcmaster to me - I'm 350ms away.

thisjeremiah 1 day ago

It doesn't seem to persist the cart for me across browser refresh. But if I add something else to the cart, the whole cart comes back. Strange.

camilo86 1 day ago

Interesting. Hovering over links loads up the images in that link.

anon7000 1 day ago

There was a nice video recently about how the OGs optimized the site so well. https://youtu.be/-Ln-8QM8KhQ