SolidStart
SolidStart scores 15 of 28 points. That is 8 of 14 on the 7 features that affect first paint (the moment the browser first draws content), and 7 of 14 on the 7 other features.
- Version checked
- Not @solidjs/start: solid-js ^2.0.0-rc.6 (npm latest 2.0.3), @solidjs/router ^2.0.0-next.21, Nitro 3.0.260903-beta (npm latest 3.0.261103-rc) via @solidjs/vite-plugin ^3.0.0-next.39 (npm latest 3.0.1)
- Version notes
- optimized branch: ?inline CSS; Fontsource + woff2 preload; custom imageSrcset helper with Nitro host image config; FastLink preload helper; no cache configured
- Performance guide
- Performance - SolidJS Documentation
- Issues
- github.com/solidjs/solid-start/issues
Scorecard
All 14 features, in two groups. Each row shows SolidStart's label, how that label compares across all 23 frameworks, and how to enable the feature. Feature names link to SolidStart's entry on that feature's page.
SolidStart's labels across 14 features
- 1st-party5
- Experimental1
- Third-party4
- Manual4
- of 14
How it compares
On 5 of 14 features, no framework has a higher-scoring label than SolidStart. On the other 9, at least one does.
Tested in our port
The solid-books port passes 10/11 feature tests (failed: Image pipeline). Run on 2026-11-26 at MaxwellCohen/solid-books@46e94d0. How we test labels
First-paint levers
- 01Production CSS inliningManual0 pts
Manual, like 11 of the other 22 frameworks. 11 frameworks score higher.
Show the how-toHide the how-to
There is no first-party production inlining flag documented in the styling and assets docs (Solid 2 start mode, this port's stack; production output is
<link rel="stylesheet">tags) or in the archived SolidStart v2 CSS and styling docs, so you wire it yourself: import the stylesheet with?inline(a Vite CSS feature) and render it in a<style>tag.import appCss from "./app.css?inline"; // ... <NoHydration> <style>{import.meta.env.SSR ? appCss : ""}</style> </NoHydration>From this repo's
solid-books/src/Document.tsx(optimizedbranch).NoHydrationkeeps the CSS string out of the client bundle. - 02Font optimizationThird-party1 pt
Third-party, like 18 of the other 22 frameworks. 4 frameworks score higher.
Show the how-toHide the how-to
Use
@fontsource-variable/geistplus an explicit<link rel="preload" as="font">with the hashed woff2 URL (static assets; no first-party font primitive documented — that page covers/publicand asset imports only).import geistLatin from "@fontsource-variable/geist/files/geist-latin-wght-normal.woff2?url"; // ... <link rel="preload" as="font" type="font/woff2" href={geistLatin} crossorigin="" />From this repo's
solid-books/src/Document.tsx(optimizedbranch). - 03Image pipeline1st-party2 pts
1st-party, like 8 of the other 22 frameworks. None scores higher.
Tested in our port: failedShow the how-to and testHide the how-to and test
The Solid team publishes
@solidjs/image(npmlatest1.0.0 for Solid 2; 0.x for Solid 1): aSolidImagecomponent plusimagePluginfrom@solidjs/image/vite, which resizes and re-encodes local images at build time with sharp, emitssrcset, lazy-loads, and supports blur/BlurHash/ThumbHash previews. It is not mentioned on docs.solidjs.com (package README only). This port does not use it, or Unpic; it uses a customimageSrcsethelper plus the per-host Nitro image config and cover preload components. The Vercel half of that Nitro config looks like this:nitro({ vercel: { config: { version: 3, images: { sizes: IMAGE_WIDTHS, formats: ["image/avif", "image/webp"], }, }, }, }),From this repo's
solid-books/vite.config.ts(optimizedbranch;domains,remotePatterns,minimumCacheTTLand the Netlify block omitted).Art direction with <picture>
1st-partyServing a different crop or format per screen size. Not scored: the label shows how much the framework does for you.
SolidImagefrom the Solid team's@solidjs/imagerenders a<picture>with one<source>per output format (defaultwebp+jpeg, AVIF available) and a mergedsrcset; that is modern formats and sizes, not breakpoint art direction. The package is documented in its README only, not on docs.solidjs.com. This port does not use it and buildssrcsetwith its ownimageSrcsethelper.Example
@solidjs/imagecovers formats but not breakpoints, so write the<picture>in the port's cover component. Wide screens get Goodreads' large cover, and narrow screens keep the medium one.// src/features/book/components/book-cover.tsx import { getLargeBookImageUrl } from "@/features/book/book-constants"; import { imageSrcset } from "@/lib/image-cdn"; // … {(src) => ( <picture> <source media="(min-width: 768px)" srcset={imageSrcset(getLargeBookImageUrl(src())) ?? getLargeBookImageUrl(src())} sizes={props.sizes} /> <img alt={props.title} class="absolute inset-0 h-full w-full object-cover" decoding="async" width={COVER_WIDTH} height={COVER_HEIGHT} sizes={props.sizes} srcset={imageSrcset(src())} src={src()} /> </picture> )} - 04Data/HTML cachingThird-party1 pt
Third-party: the only framework of 23 with this label. 17 frameworks score higher.
Show the how-toHide the how-to
Nitro, the server layer under Solid's start mode, caches routes and handlers:
routeRuleswithcacheorswr, plusdefineCachedHandler. Nitro is maintained by the Nitro project (nitrojs), not the Solid team, so this counts as third-party, the same basis as SolidStart's multi-host cell. Solid Router's first-partyquerycache dedupes and caches client-side data only. Route pre-rendering covers any route listed inroutesor crawled vianitro.prerender. Theoptimizedport configures no cache, so its loaders insrc/features/book/book-queries.tsquery Postgres on a cold request. Our feature test setsrouteRules: { "/feature-tests/caching": { cache: { maxAge: 2 } } }on Nitro 3 beta: the second request inside the TTL returns the same timestamp withx-cache: HIT, and a request after the TTL gets a new one.routeRules: { "/blog/**": { swr: 3600 }, },Adapted from the Nitro cache docs; the
optimizedport does not set it. - 05Route prefetching1st-party2 pts
1st-party, like 18 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
Solid Router v1 and the
2.0.0-next.21prerelease this port pins preload on hover (~20ms) and focus by default. In Solid Router 2.0 stable (npmlatest2.0.1) link preloading is opt-in:createRouter({ routes, preloadLinks: intentPreload() }), withtapPreload,viewportPreloadandeagerPreloadas other strategies.usePreloadRouteis the manual API, and this port'sFastLinkcalls it on hover and focus (and eagerly when itsprefetchprop is set), and starts the navigation on mouse-down.import { useNavigate, usePreloadRoute } from "@solidjs/router";From this repo's
solid-books/src/components/ui/fast-link.tsx(optimizedbranch). - 06Streaming SSR1st-party2 pts
1st-party, like 17 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
With
ssr: true, pages stream from the server (choose a rendering mode): the shell is sent first, then one HTML fragment per<Loading>boundary as its data resolves (performance guide).plugins: [solid({ start: true, ssr: true })],<Loading fallback={<p>Loading product…</p>}> <article> <h1>{product().name}</h1> </article> </Loading>Adapted from the Solid docs (
vite.config.tsline and a shortened<Loading>example). - 07Early Hints / preload headersManual0 pts
Manual, like 15 of the other 22 frameworks. 7 frameworks score higher.
Show the how-toHide the how-to
No first-party preload headers or Early Hints are documented.
httpHeadersets a response header during SSR, so you list each asset yourself.httpHeader("Link", "</fonts/inter.woff2>; rel=preload; as=font", { append: true, });
Other features
- 08Islands / partial hydration / lazy slicesExperimental1 pt
Experimental, like 4 of the other 22 frameworks. 15 frameworks score higher.
Show the how-toHide the how-to
No first-party islands are documented: released SolidStart v2 reserves
experimental.islandsand only acceptsfalse(config reference). Solid 2's@solidjs/webhas experimental server components (a component returned from a"use server"function and mounted withdynamicComponent; docs), not used by this port.clientOnlyskips SSR for a single component, which is not islands.Code example
Solid 2's experimental server components replace islands. A
"use server"function returns a component, the client mounts it withdynamicComponent, and only the client components passed in as props or children hydrate. Turn it on withserverFunctions: { components: true }on@solidjs/vite-plugin.// src/routes/story.tsx import { dynamicComponent } from 'solid-js' async function getStory(id: number) { 'use server' const story = await db.stories.get(id) return (props) => ( <article> <h1>{story.title}</h1> <footer>{props.children}</footer> </article> ) } export default function StoryPage(props) { const Story = dynamicComponent(() => getStory(props.storyId)) return ( <Story> <ShareBar /> </Story> ) } - 09Per-route render modes1st-party2 pts
1st-party, like 18 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
Route prerendering is set under top-level
nitro: { prerender: { routes, crawlLinks } }in v2/vite-plugin setups, and NitrorouteRulescan setswr/cacheper route (see the snippet in section 4); there is no per-route SSR/SPA switch. For the Solid 2 stack, see deployment (top-levelnitroconfig) and choose a rendering mode (prerender-crawler).export default defineConfig({ plugins: [solidStart(), nitro()], nitro: { prerender: { routes: ["/", "/about"], }, }, });From the archived SolidStart v2 route pre-rendering docs (uses
@solidjs/start, not this port's@solidjs/vite-pluginsetup). - 10Fine-grained client reactivity1st-party2 pts
1st-party, like 21 of the other 22 frameworks. None scores higher.
Show the how-toHide the how-to
Signals; updates write to the DOM directly without re-running components.
const [isOpen, setIsOpen] = createSignal(false);From this repo's
solid-books/src/components/mobile-book-sidebar.tsx(optimizedbranch). - 11Built-in bundle analysisThird-party1 pt
Third-party, like 18 of the other 22 frameworks. 2 frameworks score higher.
Show the how-toHide the how-to
No first-party analyzer is documented (archived SolidStart v2 docs cover asset handling but no analysis step); rollup-plugin-visualizer would be added, not configured here.
Code example
Add
rollup-plugin-visualizerto the port's Vite config.vite buildthen writes a treemap of the bundle tostats.html.// vite.config.ts import { nitro } from 'nitro/vite' import solid from '@solidjs/vite-plugin' import { visualizer } from 'rollup-plugin-visualizer' import { defineConfig } from 'vite' export default defineConfig({ plugins: [ solid({ start: { /* … */ }, ssr: true }), nitro({ /* … */ }), visualizer({ filename: 'stats.html', gzipSize: true }), ], })Source: rollup-plugin-visualizer: README
- 12Third-party script strategiesManual0 pts
Manual, like 16 of the other 22 frameworks. 6 frameworks score higher.
Show the how-toHide the how-to
No first-party script-loading strategy is documented (head and metadata);
Scriptfrom@solidjs/metaonly emits a<script>tag (reference). Nothing to enable.Code example
Write the tags in the port's
Document.tsx, next to its inline theme script. For a lazy strategy, add an inline loader that injects the third-party script once the page is idle.// src/Document.tsx const themeScript = `(function(){ /* … from the port … */ })();`; const lazyAnalytics = `addEventListener("load",function(){(window.requestIdleCallback||setTimeout)(function(){var s=document.createElement("script");s.src="https://example-analytics.com/script.js";s.async=true;document.head.appendChild(s);});});`; export default function Document(props: ParentProps) { return ( <html lang="en"> <head> {/* … meta, font preload, inlined CSS from the port … */} <script>{themeScript}</script> <script src="https://example.com/critical.js" async /> <script>{lazyAnalytics}</script> <HydrationScript /> </head> <body>{props.children}</body> </html> ); } - 13Portable multi-host deploymentThird-party1 pt
Third-party, like 5 of the other 22 frameworks. 8 frameworks score higher.
Show the how-toHide the how-to
Use Nitro v3 presets, or the host-maintained
@cloudflare/vite-plugin/@netlify/vite-plugin; all three are documented in the Solid deployment guides (SolidStart v2 deployment plugins; Solid 2 start mode, which also emits its own Node server viastart.nodeServer). None of them is maintained by the Solid team, so the cell is scored 🧪, as for React Router's host-maintained integrations.nitro({ ...(process.env.CLOUDFLARE || process.env.WORKERS_CI ? { preset: "cloudflare_module" } : {}), }),From this repo's
solid-books/vite.config.ts(optimizedbranch; host image config omitted). - 14Service worker / offline supportManual0 pts
Manual, like 16 of the other 22 frameworks. 6 frameworks score higher.
Show the how-toHide the how-to
No service worker support is documented. Put a hand-written
sw.jsinpublic/(styling and assets) and register it yourself; the worker has no list of built assets unless you generate one.Code example
Put a hand-written worker in
public/and register it with an inline script in the document, next to the theme script.// public/sw.js const CACHE = 'books-v1'; // change the name on each deploy self.addEventListener('activate', (event) => { event.waitUntil( caches.keys().then((keys) => Promise.all(keys.filter((k) => k !== CACHE).map((k) => caches.delete(k)))), ); }); self.addEventListener('fetch', (event) => { const { request } = event; if (request.method !== 'GET' || new URL(request.url).origin !== location.origin) return; // Network first, so pages stay current. The cached copy answers when offline. event.respondWith( fetch(request) .then((response) => { const copy = response.clone(); caches.open(CACHE).then((cache) => cache.put(request, copy)); return response; }) .catch(() => caches.match(request)), ); });// src/Document.tsx const swScript = `if('serviceWorker' in navigator)addEventListener('load',function(){navigator.serviceWorker.register('/sw.js')});`; // … <script>{themeScript}</script> <script>{swScript}</script>Source: Using Service Workers (MDN) · SolidStart styling and assets
1st-party scores 2 points, Experimental and Third-party 1, Manual 0. How scoring works
The port
The books demo app built with this framework, and where each branch is deployed.
- App
- solid-books
- Repository
- github.com/MaxwellCohen/solid-books
Branch
main
fork from work by brenelz
- Vercel
- solid-books.vercel.app
- Netlify
- max-solid-books.netlify.app
- Cloudflare
- solid-books.to-email-max.workers.dev
Branch
optimized
cache + fonts
Latest benchmark
Mobile Lighthouse lab results from PageSpeed Insights on : the median of 3 runs per host, averaged across the hosts listed. The benchmark page explains each metric and has every other framework.
| Build | Path | Perf | FCP | Raw FCP | LCP | TBT | CLS | SI | TTI | Doc | Hosts |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Book list / | |||||||||||
| baseline | / | 84 | (good)1.51 | 0.92 | (poor)4.26 | (good)48 | (good)0.000 | 2.46 | 4.26 | 138 | 3/3 Vercel, Netlify, Cloudflare |
| optimized | / | 94 | (good)0.94 | 0.99 | (needs improvement)2.75 | (good)60 | (good)0.000 | 2.17 | 2.77 | 156 | 3/3 Vercel, Netlify, Cloudflare |
| Book page /10145787 | |||||||||||
| baseline | /10145787 | 97 | (good)1.51 | 0.62 | (needs improvement)2.56 | (good)7 | (good)0.000 | 1.83 | 2.56 | 133 | 3/3 Vercel, Netlify, Cloudflare |
| optimized | /10145787 | 100 | (good)0.93 | 0.25 | (good)1.76 | (good)31 | (good)0.001 | 0.98 | 1.81 | 80 | 3/3 Vercel, Netlify, Cloudflare |
- Good
- Needs improvement
- Poor
FCP 1.8 s / 3 s · LCP 2.5 s / 4 s · TBT 200 ms / 600 ms · CLS 0.1 / 0.25
Per host
The medians above before averaging. Runs is how many measured runs went into each median. Host names link to the deployment.
| Build | Path | Host | Perf | FCP | Raw FCP | LCP | TBT | CLS | SI | TTI | Doc | Runs | Status |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SolidStart | |||||||||||||
| baseline | / | Vercel | 86 | (good)1.51 | 0.25 | (poor)4.06 | (good)65 | (good)0.000 | 1.51 | 4.06 | 176 | 3/3 | OK |
| baseline | / | Netlify | 82 | (good)1.51 | 2.32 | (poor)4.36 | (good)42 | (good)0.000 | 4.35 | 4.36 | 170 | 3/3 | OK |
| baseline | / | Cloudflare | 85 | (good)1.51 | 0.18 | (poor)4.36 | (good)36 | (good)0.000 | 1.51 | 4.36 | 69 | 3/3 | OK |
| baseline | /10145787 | Vercel | 97 | (good)1.51 | 0.25 | (needs improvement)2.56 | (good)6 | (good)0.000 | 1.51 | 2.56 | 102 | 3/3 | OK |
| baseline | /10145787 | Netlify | 96 | (good)1.51 | 1.29 | (needs improvement)2.56 | (good)8 | (good)0.000 | 2.49 | 2.56 | 140 | 3/3 | OK |
| baseline | /10145787 | Cloudflare | 97 | (good)1.51 | 0.32 | (needs improvement)2.56 | (good)7 | (good)0.000 | 1.51 | 2.56 | 156 | 3/3 | OK |
| optimized | / | Vercel | 99 | (good)0.93 | 0.27 | (good)2.10 | (good)17 | (good)0.000 | 1.21 | 2.14 | 104 | 3/3 | OK |
| optimized | / | Netlify | 99 | (good)0.95 | 0.32 | (good)2.26 | (good)0 | (good)0.000 | 1.29 | 2.26 | 165 | 3/3 | OK |
| optimized | / | Cloudflare | 84 | (good)0.93 | 2.37 | (needs improvement)3.90 | (good)162 | (good)0.000 | 4.02 | 3.90 | 198 | 3/3 | OK |
| optimized | /10145787 | Vercel | 100 | (good)0.93 | 0.23 | (good)1.50 | (good)76 | (good)0.000 | 0.93 | 1.63 | 48 | 3/3 | OK |
| optimized | /10145787 | Netlify | 100 | (good)0.95 | 0.32 | (good)1.67 | (good)0 | (good)0.003 | 1.09 | 1.67 | 96 | 3/3 | OK |
| optimized | /10145787 | Cloudflare | 99 | (good)0.92 | 0.20 | (good)2.10 | (good)17 | (good)0.000 | 0.92 | 2.15 | 96 | 3/3 | OK |