Hacker News new | ask | show | jobs
by pelagicAustral 65 days ago
> lightning-fast static sites with Sveltekit

[???] Why the hell would I use SvelteKit for a static site?

1 comments

We had an existing sveltekit application and its components, tooling, etc and used statue to develop the landing page/legals/docs/marketing portion of our site as an SSG, deployed separately but with shared logic.

Our application was behind a proxy that requires auth, and we could host our SSG on Cloudflare pages, so we didn’t have to expose any application server/compute (besides auth) to the public Internet. To me this was very desirable for security and devex: we could develop the two applications independently and be pretty lax with the static site.