Blog

SolidStart: HTTP handlers, CORS with Vinxi and Nitro adapters, and streaming SSR with Suspense boundaries

SolidStart unifies server entrypoints—centralize CORS headers in shared middleware before route handlers.

1 min read
solidsolid-startcors

RPC patterns

Server functions compiled to fetch calls still need CORS preflight when called from other origins.

Batching RPC calls should not exceed `Access-Control-Max-Age` expectations on shared CDNs.

Deployment

Bun versus Node adapters differ in header merging—integration test both paths.

Edge deployments may require smaller CORS header sets—split policies by region if needed.

Back to blog