Get a peek at our latest innovations at Sanity Product Day on Dec 8th →

Next.js Edge SSR

By Roboto Studio

New edge server side rendering with Sanity to see what peak performance looks like

Sanity Intro screen, press one of the two links to see the performance from a simple post
Not the prettiest, but gives a good indication of TTFB when running through https://tools.keycdn.com/performance
Performance for the old SSR with Node.js
Performance for the new SSR with Edge

About the project

We tested Next.js 12.2 Edge Server-Rendering to see the performance gains with using Sanity. We took initial inspiration from the fireship video here, but specifically we were curious to see if we would see similar results with Sanity. What we found was pretty impressive. From a cold start, we found the node.js SSR could take up to 1.5 seconds, whereas we were getting fairly consistent sub 0.7 seconds on the new edge SSR

Contributor

Other projects by author

DevelRx

How we rebuilt Nottingham's drug development experts' website

Roboto Studio
Go to DevelRx

Userfy

Nottingham UX powerhouse gets an overhaul with Sanity

Roboto Studio
Go to Userfy

Fresh Security

Helping the Nottingham security disruptor with a first-class editing experience

Roboto Studio
Go to Fresh Security

1st Call Immigration

How we moved Nottingham's #1 independent immigration specialist into the JAMstack

Roboto Studio
Go to 1st Call Immigration