---
title: "Discussion on \"Next.js 16.4 Self Hosting and Cache Components: An Upgrade Checklist You Can Run Before Production\" | Hashnode"
description: "Discussion on \"Next.js 16.4 Self Hosting and Cache Components: An Upgrade Checklist You Can Run Before Production\". Next.js 16.4 made Cache Components the recommended path and switched them on by default for every new create-next-app project. Your existing app did not get that switch. That gap between what a fresh"
url: "https://hashnode.com/posts/next-js-16-4-self-hosting-and-cache-components-an-upgrade-checklist-you-can-run-before-production/6ae0f0994a609cc02d7774fe"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Next.js 16.4 Self Hosting and Cache Components: An Upgrade Checklist You Can Run Before Production](https://mudassirworks.hashnode.dev/next-js-16-4-self-hosting-and-cache-components-an-upgrade-checklist-you-can-run-before-production?utm_source=hashnode&utm_medium=feed)

Next.js 16.4 made Cache Components the recommended path and switched them on by default for every new create-next-app project. Your existing app did not get that switch. That gap between what a fresh

Oct 27 · 11 min read · mudassirworks.hashnode.dev  
Read the article

-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#devops](https://hashnode.com/tag/devops)
-   [#ai](https://hashnode.com/tag/ai)

## Written by

[Mudassir Khan](https://hashnode.com/@muddi00seven)

@muddi00seven

  
[View profile](https://hashnode.com/@muddi00seven)

## Responses 3

Markdown supported · ⌘↵ to post

[Zahra Hassan](https://hashnode.com/@zahrahassan)

[6d ago](https://hashnode.com/posts/next-js-16-4-self-hosting-and-cache-components-an-upgrade-checklist-you-can-run-before-production/6ae0f0994a609cc02d7774fe/comment/6afc17a2ed12bf99646c27e3)

Great checklist. Upgrading the version first and adopting Cache Components in a separate deploy is the safest way to do it.

One addition for self hosters running more than one instance: the cache is local to each server by default, so you’ll need a shared cache handler like Redis, plus the same NEXT\_SERVER\_ACTIONS\_ENCRYPTION\_KEY on every instance. Otherwise revalidation and Server Actions can behave oddly after deploys.

For hosting, Vercel, Coolify, DigitalOcean and Cloudways all work for Next.js, with different amounts of server work left to you.

[Rishabh Mishra](https://hashnode.com/@rushdeploy)

[Oct 28](https://hashnode.com/posts/next-js-16-4-self-hosting-and-cache-components-an-upgrade-checklist-you-can-run-before-production/6ae0f0994a609cc02d7774fe/comment/6ae16587a0445b77f6637252)

The rollback rehearsal is the gate I would not skip. Deploying, smoking, rolling back, and smoking again in staging is what makes a version upgrade boring in production.
