tutors icon indicating copy to clipboard operation
tutors copied to clipboard

SvekteKit Server Side Rendering

Open edeleastar opened this issue 1 year ago • 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

edeleastar avatar Jan 28 '24 18:01 edeleastar