Skip to content

Explanation of what Blade fallback means #39

@jitterbux

Description

@jitterbux

Hi, I am kind of lost about what "Blade fallback" here https://splade.dev/docs/ssr .

You say: "Of course, you should always prefer the rendered content by the SSR server, but it’s nice to have a fallback. This way, search engine crawlers won’t index an empty page."

Can you explain it a bit more in the docs. The current wording is kind of "mysterious" ;). I know that the missing html tags and only one div app tag instead are bad for SEO. But I have no clue what is the difference between SSR by node and SSR by "fallback" Blade - because both are sending js files and not whole html files, when you click around on links, right?

Is blade ssr slower, more CPU intensive or just "some other way" bad? What aren't we using just Blade SSR rendering instead of node SSR rendering?

I have tried it and with the Blade fallback the file that with SSR enabled (node bootstrap/ssr/ssr.mjs and SPLADE_SSR_ENABLED=true in the .env file) had 71 kB . The same file with SPLADE_SSR_ENABLED=false in the .env file) had 74 kB.

But I am not sure what is different.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions