Need help understanding server side vs static generation docs #17284
-
The docs is saying the following:
E-commerce product listings is referring to the product page itself? or the page that the user is looking for products? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I can't speak to what the intent of the docs was (to me it sounds just like an individual product page), but the initial load of a products page (list of products) could be statically generated. Then as a user filters results you could just do all of that client side. I don't think every iteration of possible filters would be needed to be statically generated (for SEO purposes). |
Beta Was this translation helpful? Give feedback.
-
It can perfectly be used for the product page itself, our docs only mention some examples.
Let's say you have 2 paths:
It's not required to use SSR in any of the mentioned cases 👍 |
Beta Was this translation helpful? Give feedback.
I can't speak to what the intent of the docs was (to me it sounds just like an individual product page), but the initial load of a products page (list of products) could be statically generated. Then as a user filters results you could just do all of that client side. I don't think every iteration of possible filters would be needed to be statically generated (for SEO purposes).