tutors
tutors copied to clipboard
SvekteKit Server Side Rendering
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