Skip to content

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.

Tied for rank 14 of 23 with React Router, Void (React), Void (Vue), Void (Solid)15/28 points: 8/14 first-paint, 7/14 other · 54% complete
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

8/14
  • Manual, like 11 of the other 22 frameworks. 11 frameworks score higher.

    Show 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 (optimized branch). NoHydration keeps 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-to

    Use @fontsource-variable/geist plus an explicit <link rel="preload" as="font"> with the hashed woff2 URL (static assets; no first-party font primitive documented — that page covers /public and 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 (optimized branch).

  • 03Image pipeline1st-party2 pts

    1st-party, like 8 of the other 22 frameworks. None scores higher.

    Tested in our port: failed
    Show the how-to and test

    The Solid team publishes @solidjs/image (npm latest 1.0.0 for Solid 2; 0.x for Solid 1): a SolidImage component plus imagePlugin from @solidjs/image/vite, which resizes and re-encodes local images at build time with sharp, emits srcset, 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 custom imageSrcset helper 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 (optimized branch; domains, remotePatterns, minimumCacheTTL and the Netlify block omitted).

    Art direction with <picture>

    1st-party

    Serving a different crop or format per screen size. Not scored: the label shows how much the framework does for you.

    SolidImage from the Solid team's @solidjs/image renders a <picture> with one <source> per output format (default webp + jpeg, AVIF available) and a merged srcset; 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 builds srcset with its own imageSrcset helper.

    Example

    @solidjs/image covers 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-to

    Nitro, the server layer under Solid's start mode, caches routes and handlers: routeRules with cache or swr, plus defineCachedHandler. 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-party query cache dedupes and caches client-side data only. Route pre-rendering covers any route listed in routes or crawled via nitro.prerender. The optimized port configures no cache, so its loaders in src/features/book/book-queries.ts query Postgres on a cold request. Our feature test sets routeRules: { "/feature-tests/caching": { cache: { maxAge: 2 } } } on Nitro 3 beta: the second request inside the TTL returns the same timestamp with x-cache: HIT, and a request after the TTL gets a new one.

    routeRules: {
      "/blog/**": { swr: 3600 },
    },

    Adapted from the Nitro cache docs; the optimized port does not set it.

  • 05Route prefetching1st-party2 pts

    1st-party, like 18 of the other 22 frameworks. None scores higher.

    Show the how-to

    Solid Router v1 and the 2.0.0-next.21 prerelease this port pins preload on hover (~20ms) and focus by default. In Solid Router 2.0 stable (npm latest 2.0.1) link preloading is opt-in: createRouter({ routes, preloadLinks: intentPreload() }), with tapPreload, viewportPreload and eagerPreload as other strategies. usePreloadRoute is the manual API, and this port's FastLink calls it on hover and focus (and eagerly when its prefetch prop 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 (optimized branch).

  • 06Streaming SSR1st-party2 pts

    1st-party, like 17 of the other 22 frameworks. None scores higher.

    Show 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.ts line and a shortened <Loading> example).

  • Manual, like 15 of the other 22 frameworks. 7 frameworks score higher.

    Show the how-to

    No first-party preload headers or Early Hints are documented. httpHeader sets a response header during SSR, so you list each asset yourself.

    httpHeader("Link", "</fonts/inter.woff2>; rel=preload; as=font", {
      append: true,
    });

    From the Solid httpHeader reference.

Other features

7/14
  • Experimental, like 4 of the other 22 frameworks. 15 frameworks score higher.

    Show the how-to

    No first-party islands are documented: released SolidStart v2 reserves experimental.islands and only accepts false (config reference). Solid 2's @solidjs/web has experimental server components (a component returned from a "use server" function and mounted with dynamicComponent; docs), not used by this port. clientOnly skips 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 with dynamicComponent, and only the client components passed in as props or children hydrate. Turn it on with serverFunctions: { 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>
      )
    }

    Source: Solid: RFC 11, Server components (experimental)

  • 1st-party, like 18 of the other 22 frameworks. None scores higher.

    Show the how-to

    Route prerendering is set under top-level nitro: { prerender: { routes, crawlLinks } } in v2/vite-plugin setups, and Nitro routeRules can set swr/cache per route (see the snippet in section 4); there is no per-route SSR/SPA switch. For the Solid 2 stack, see deployment (top-level nitro config) 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-plugin setup).

  • 1st-party, like 21 of the other 22 frameworks. None scores higher.

    Show 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 (optimized branch).

  • Third-party, like 18 of the other 22 frameworks. 2 frameworks score higher.

    Show 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-visualizer to the port's Vite config. vite build then writes a treemap of the bundle to stats.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

  • Manual, like 16 of the other 22 frameworks. 6 frameworks score higher.

    Show the how-to

    No first-party script-loading strategy is documented (head and metadata); Script from @solidjs/meta only 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>
      );
    }
  • Third-party, like 5 of the other 22 frameworks. 8 frameworks score higher.

    Show 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 via start.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 (optimized branch; host image config omitted).

  • Manual, like 16 of the other 22 frameworks. 6 frameworks score higher.

    Show the how-to

    No service worker support is documented. Put a hand-written sw.js in public/ (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.

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.

SolidStart: latest benchmark per build and page
BuildPathPerfFCPRaw FCPLCPTBTCLSSITTIDocHosts
Book list /
baseline/84(good)1.510.92(poor)4.26(good)48(good)0.0002.464.261383/3 Vercel, Netlify, Cloudflare
optimized/94(good)0.940.99(needs improvement)2.75(good)60(good)0.0002.172.771563/3 Vercel, Netlify, Cloudflare
Book page /10145787
baseline/1014578797(good)1.510.62(needs improvement)2.56(good)7(good)0.0001.832.561333/3 Vercel, Netlify, Cloudflare
optimized/10145787100(good)0.930.25(good)1.76(good)31(good)0.0010.981.81803/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.

SolidStart: latest benchmark per build, page and host
BuildPathHostPerfFCPRaw FCPLCPTBTCLSSITTIDocRunsStatus
SolidStart
baseline/Vercel86(good)1.510.25(poor)4.06(good)65(good)0.0001.514.061763/3OK
baseline/Netlify82(good)1.512.32(poor)4.36(good)42(good)0.0004.354.361703/3OK
baseline/Cloudflare85(good)1.510.18(poor)4.36(good)36(good)0.0001.514.36693/3OK
baseline/10145787Vercel97(good)1.510.25(needs improvement)2.56(good)6(good)0.0001.512.561023/3OK
baseline/10145787Netlify96(good)1.511.29(needs improvement)2.56(good)8(good)0.0002.492.561403/3OK
baseline/10145787Cloudflare97(good)1.510.32(needs improvement)2.56(good)7(good)0.0001.512.561563/3OK
optimized/Vercel99(good)0.930.27(good)2.10(good)17(good)0.0001.212.141043/3OK
optimized/Netlify99(good)0.950.32(good)2.26(good)0(good)0.0001.292.261653/3OK
optimized/Cloudflare84(good)0.932.37(needs improvement)3.90(good)162(good)0.0004.023.901983/3OK
optimized/10145787Vercel100(good)0.930.23(good)1.50(good)76(good)0.0000.931.63483/3OK
optimized/10145787Netlify100(good)0.950.32(good)1.67(good)0(good)0.0031.091.67963/3OK
optimized/10145787Cloudflare99(good)0.920.20(good)2.10(good)17(good)0.0000.922.15963/3OK