DEV Community

Discussion on: How to still use Crawlers in Client-Side Websites

Collapse
 
vabelha profile image
Vasco Abelha

Thanks for the answer!

Both would be fine.

I just ended up using this route due to being for me the "simplest" solution at the time, since express was 99% used for RESTful Web Services.
In terms of performance, I think it is neglectable.

Second Question:
This is not meant for SPA. This should be just for Server-side Rendering our SSGs.

Briefly said:
If you won't need to use SEO (GoogleBot now runs JS); you are most likely building tools; it doesn't matter how long it takes your webpage to load and be responsive. SPA is Fine.

If you are working with:

  • e-commerce, showcasing, marketing;
  • where speed and responsiveness matters;
  • SEO

SSR or SSG are the best options.