Skip to content

Sveltekit app shell - #335

Merged
AlexanderKaran merged 4 commits into
mainfrom
sveltekit-app-shell
Jul 23, 2026
Merged

Sveltekit app shell#335
AlexanderKaran merged 4 commits into
mainfrom
sveltekit-app-shell

Conversation

@AlexanderKaran

Copy link
Copy Markdown
Collaborator

Closes #199

Based on this feedback from the SvelteKit team

The SvelteKit CSR main page should also enable prerendering. Strictly speaking it fits their methodology since it doesn't actually prerender the table, but rather the shell (this is what you'd get if you used the static adapter to generate an SPA fallback page). This lets adapter-node bypass the SSR handler and serve the static shell directly where CSR takes over on the browser.

I have added this as Astro and I think NextJS to already do this. I updated the methodology as well to make things clear. I guess at the end of the day we're not really doing a full SPA, just CSR at a route, so SvelteKit would have something like this set up.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
framework-tracker 25f07d7 Commit Preview URL

Branch Preview URL
Jul 23 2026, 01:03 PM

@43081j 43081j left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems good to me 👍

@paoloricciuti paoloricciuti left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good but let's also hear from @teemingc

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Deploying framework-tracker with  Cloudflare Pages  Cloudflare Pages

Latest commit: 25f07d7
Status: ✅  Deploy successful!
Preview URL: https://3f35ed96.framework-tracker.pages.dev
Branch Preview URL: https://sveltekit-app-shell.framework-tracker.pages.dev

View logs

@teemingc

Copy link
Copy Markdown

Yeah, looks good. I don't think the data gets baked in because we skip load functions on the server when ssr is disabled. But worth checking the build output html

@AlexanderKaran

Copy link
Copy Markdown
Collaborator Author

Yeah, looks good. I don't think the data gets baked in because we skip load functions on the server when ssr is disabled. But worth checking the build output html

I did and we all good

@AlexanderKaran
AlexanderKaran merged commit c12ddd8 into main Jul 23, 2026
4 checks passed
@AlexanderKaran
AlexanderKaran deleted the sveltekit-app-shell branch July 23, 2026 13:42
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

Successfully merging this pull request may close these issues.

SvelteKit

4 participants