Skip to content
Can you self-host Next.js? episode artwork

EPISODE · Oct 10, 2024 · 58 MIN

Can you self-host Next.js?

from Frontend First · host Frontend First

Sam and Ryan talk about how frameworks and infrastructure evolve with each other, using Next.js as a representative example. They discuss how hosting providers like Heroku have always imposed certain constraints on apps, what features those constraints enable hosting providers to support, how burdensome those constraints are across different frameworks, and how frameworks that add infra-specific APIs can best communicate the costs of those APIs and benefits they enable. Timestamps: 0:00 - Intro 3:03 - Heroku and the Twelve-Factor App 7:39 - GitHub Pages and static sites 13:57 - Serverless and JAMstack 17:30 - Vercel and CDNs, self-hosting, and Next.js 19:00 - How framework APIs can nudge an app towards a particular hosting solution 23:09 - What constraints does Next.js impose on your app (e.g. middleware doesn't run node), and what benefits do those constraints give you? 36:13 - How Next.js APIs are motivated by wanting to tease apart static and dynamic code, in an attempt to support the needs of any web app with a single stack 40:33 - What is the relationship between frameworks and infra? 47:37 - How can frameworks that add infra-specific APIs best communicate the costs of those APIs and the benefits they enable? Links: The Twelve-Factor App

Episode metadata supplied by the publisher feed · Published Oct 10, 2024

Embed this episode

Sam and Ryan talk about how frameworks and infrastructure evolve with each other, using Next.js as a representative example. They discuss how hosting providers like Heroku have always imposed certain constraints on apps, what features those constraints enable hosting providers to support, how burdensome those constraints are across different frameworks, and how frameworks that add infra-specific APIs can best communicate the costs of those APIs and benefits they enable.

Distinct summary based on available episode metadata or transcript content.

Ready to play

Can you self-host Next.js?

0:00 58:03

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Frontend First?

This episode is 58 minutes long.

When was this Frontend First episode published?

This episode was published on October 10, 2024.

Can I download this Frontend First episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!