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

Support SvelteKit server-side rendering #309

Open
th0rgall opened this issue Feb 17, 2023 · 0 comments
Open

Support SvelteKit server-side rendering #309

th0rgall opened this issue Feb 17, 2023 · 0 comments

Comments

@th0rgall
Copy link
Contributor

th0rgall commented Feb 17, 2023

Using SSR on SvelteKit is a best practice for SEO/localization.

A first sub-issue is #336.

The next step is to customize the layouts & pages on the server based on server data, for example the locale of the browser. For this, see https://firebase.google.com/docs/auth/web/service-worker-sessions, which enables among others:

Ability to pass an ID token on every HTTP request from the server without any additional work.

That would allow us to pre-fetch and personalize the experience of the user server-side with the Admin SDK.

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

No branches or pull requests

1 participant