Replies: 2 comments
-
Digging into the issues a little bit further, I think it's related to the following issues: |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is especially an issue when deploying on Vercel which bills based on the number of "edge requests" (uncached and cached). I had to move my SvelteKit app out of Vercel because of this single issue. My app is doing about 100 HTTP requests per page, and the cost on Vercel just for that metric (ignoring CPU time, network usage, etc.) is $2.40 per 1,000,000 Requests, so $2.40 per 10,000 visits which gets expensive at the end of the month. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey 👋,
I'm experimenting with moving my Astro 4 static site to a SvelteKit 5 static site as I've grown quite fond of Svelte's concepts enough to move the entire thing over.
I've followed all the instructions listed in https://svelte.dev/docs/kit/adapter-static and have a successful build working. However, I'm noticing that the Svelte bundle is larger and also shipping
.js
chunks whereas the Astro one is not. The following screenshots are network requests of the homepage which has been ported over and has the same look/feel:Astro
(7 requests)SvelteKit
(21 requests)From what I can see, Vite is still building the project as if SSR was enabled as it says so in the logs:
But I do know that the static adapter is being used:
I'd greatly appreciate if someone is able to help me understand if this behaviour is intended, and if so, why?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions