T
TanStack4mo ago
fascinating-indigo

Static Server Functions SEO friendly?

I am just wondering this since I haven't tried it, if a page with data coming from createServerFn({ type: 'static' }) is crawlable by search engine spiders
6 Replies
equal-aqua
equal-aqua4mo ago
what do you mean by that?
fascinating-indigo
fascinating-indigoOP4mo ago
The type static serverFn runs at build time right? But does the route page becomes a static page as a result of that?
equal-aqua
equal-aqua4mo ago
no unless you prerender but how does that affect seo friendliness?
fascinating-indigo
fascinating-indigoOP4mo ago
Static Server Functions | TanStack Start React Docs
What are Static Server Functions? Static server functions are server functions that are executed at build time and cached as static assets when using prerendering/static-generation. They can be set to...
fascinating-indigo
fascinating-indigoOP4mo ago
Ah just want to be sure that search engines can index the pages without any problem like content is not yet visible. Thanks @Manuel Schiller
fascinating-indigo
fascinating-indigoOP4mo ago
Static Prerendering | TanStack Start React Docs
Static Prerendering is a feature of Nitro, and while it is available in TanStack Start, we are still exploring the best practices for using it. Tread lightly! Static prerendering is the process of gen...

Did you find this page helpful?