frandiox / hydrogen-vercel-edge

Deploy a Hydrogen storefront to Vercel Edge Functions
https://hydrogen-vercel-edge-frandiox.vercel.app/
9 stars 12 forks source link

Use an Edge Function for SSR instead of Middleware #2

Closed TooTallNate closed 2 years ago

TooTallNate commented 2 years ago

Using a Middleware for the server-side render is not necessary. We can skip the middleware invocation for static assets by using a vanilla Edge Function.