Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SvekteKit Server Side Rendering #680

Open
edeleastar opened this issue Jan 28, 2024 · 0 comments
Open

SvekteKit Server Side Rendering #680

edeleastar opened this issue Jan 28, 2024 · 0 comments

Comments

@edeleastar
Copy link
Contributor

edeleastar commented Jan 28, 2024

Currently SSR is disabled for the majority of routes in the application. This has largely been because of:

  • TalkCard: this must be executed client side
  • MarkdownUtils: This is used thoughout, as all cards can have markdown in summaries. However, it has prevented SSR globally as some markdown plugins in use here are CSR (Client Side Rendering) only

This is a complex issue - currently kicked to touch with:

export const ssr = false;

in almost all page.ts routes. Moving to default (leave the above out) could dramatically improve performance + potentially SEO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant