svelte icon indicating copy to clipboard operation
svelte copied to clipboard

feat(site): Deploy to edge

Open PuruVJ opened this issue 1 year ago • 1 comments

Makes the site edge deployable.

Entire site is prerendered, so the (authed) routes alone are regional edge functions. This feels like regular serverless, but these have no cold starts, smaller runtime and overall a little bit faster. It could have been regular edge function deployed globally, but not sure how that would affect performance for users far away from the supabase instance. Worth experimenting though

Before submitting the PR, please make sure you do the following

  • [ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
  • [x] Prefix your PR title with feat:, fix:, chore:, or docs:.
  • [x] This message body should clearly illustrate what problems it solves.
  • [ ] Ideally, include a test that fails without this PR but passes with it.

Tests and linting

  • [ ] Run the tests with pnpm test and lint the project with pnpm lint

PuruVJ avatar Jun 29 '23 04:06 PuruVJ

Do not merge this PR! WTH

CleanShot 2023-06-29 at 19 02 55@2x

PuruVJ avatar Jun 29 '23 13:06 PuruVJ