RSS 2025-12-06 03:00
libraries

Handling SEO on Go backend + JS frontend

来源:Reddit r/golang

Hi everyone, sorry for this stupid question.

Lately, Go has become my go-to language for backend development, but I still prefer to use a traditional JS framework for frontend.

Now, I'm working on a project where I need just a single binary at the end, so I'm using embed to take Svelte's output, but some portions of the app will be publicly accessible, so SEO is a must, and SPAs are known for being quite bad at SEO. Are there any strategies to work around this? I tried searching around, but found that most projects don't have this requirement or they just use a separate Node server for frontend.

submitted by /u/Lakelimbo
[link] [comments]