soapbox-fe: I started refactoring stuff out of the initial-state and into XHR calls, and as expected it causes the site to render slowly. I'm stuck on this. I think I want to pre-render stuff anyway for SEO, but then again I could also just conditionally render static-fe. I don't know. There are so many choices and I'm struggling to decide how to architect this.

@af Then it can't be indexed by search engines or display display a preview card when linked on other social network sites like Facebook/Twitter

Follow

@alex not sure I understand how come static can not be indexed.

@af Depends on what you mean by static. If you mean the whole thing should be a SPA that can run entirely in your browser with no server-side code, then it can't be reliably indexed because you can't depend on crawlers to wait for the page to render before scraping it.

If you mean the server should render entirely static pages, then that's the opposite of what I'm trying to do lol. I might need the server to prerender the markup and then have React update it after it loads.

@alex yes I meant the latter one. I see...

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml