PacifistaMC / PacifistaWebsite

pacifista.fr - website front
1 stars 1 forks source link

Setup SSR - server rendering #1

Closed FunixG closed 1 year ago

FunixG commented 1 year ago

usefull for SEO ranking

FunixG commented 1 year ago

image

FunixG commented 1 year ago

image

lbrun25 commented 1 year ago

SSG and SSR are both great for SEO. This is because both of them generate their HTML outputs on the server at either build or request time. This means both can be crawled and indexed by search engine bots.

Both rendering methods also render pages quickly, which will help SEO rankings. However, out of the two, SSG does render faster so if you have particularly large pages and can use it, SSG will help more.

Ultimately, the best approach for SEO depends on the specific needs and goals of the website. For websites with primarily static content, SSG may be a better fit. For websites with more dynamic content, SSR may be more appropriate.

ISR can be advantageous because it provides the benefits of SSG (fast load times, easy crawlability by search engines, and better control over on-page SEO elements) while also ensuring that content is always up-to-date, like with SSR. This can lead to better search engine rankings and a better user experience.

FunixG commented 1 year ago

SSG and SSR are both great for SEO. This is because both of them generate their HTML outputs on the server at either build or request time. This means both can be crawled and indexed by search engine bots.

Both rendering methods also render pages quickly, which will help SEO rankings. However, out of the two, SSG does render faster so if you have particularly large pages and can use it, SSG will help more.

Ultimately, the best approach for SEO depends on the specific needs and goals of the website. For websites with primarily static content, SSG may be a better fit. For websites with more dynamic content, SSR may be more appropriate.

ISR can be advantageous because it provides the benefits of SSG (fast load times, easy crawlability by search engines, and better control over on-page SEO elements) while also ensuring that content is always up-to-date, like with SSR. This can lead to better search engine rankings and a better user experience.

Hey @lbrun25 ! Thanks for the feedback and great advices ! Actually the website will have a shop and many dynamic content so if I understand well, I might use SSR for final rendering.

Thanks for the surprise aha :D

lbrun25 commented 1 year ago

With pleasure! ;)

You can use SSG or ISR (if you plan to change data often from a CMS without rebuilding the website) for a landing page. Concerning the shop page, you're right with SSR because the content should change often: comments, price, availability, etc.