tutors-sdk/tutors

SvekteKit Server Side Rendering

edeleastar opened this issue · 0 comments

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