---
title: "Discussion on \"The Beginners Guide to Building Production-ready Apps with Next.js Part One\" | Hashnode"
description: "Discussion on \"The Beginners Guide to Building Production-ready Apps with Next.js Part One\". The What, How, and Why of Next.js"
url: "https://hashnode.com/posts/the-beginners-guide-to-building-production-ready-apps-with-nextjs-part-one-the-what-how-and-why-of-nextjs/612094dda5d08237f40dfebf"
---

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

Discussion

# [The Beginners Guide to Building Production-ready Apps with Next.js Part One](https://trammellwebdev.hashnode.dev/the-beginners-guide-to-building-production-ready-apps-with-nextjs-part-one-the-what-how-and-why-of-nextjs?utm_source=hashnode&utm_medium=feed)

The What, How, and Why of Next.js

Aug 21, 2021 · 11 min read · trammellwebdev.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#learning](https://hashnode.com/tag/learning)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Hunter Trammell](https://hashnode.com/@trammellwebdev)

@trammellwebdev · Kansas City

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

Web Developer • Blogger • Tutor

"The largest room in the world is the room for improvement." - Unknown While I can't say where that quote originated, I can say as a Full Stack Web Developer I am constantly reminded of this ever expansive room for improvement. There are always new technologies to learn, a JavaScript method to discover, or even development tools to take advantage of. In this infinite room, how does one quench that endless thirst for knowledge? We drink until we're full — so let's crack open a cold one and dive into some Web Development concepts.

## Responses 4

Markdown supported · ⌘↵ to post

[Aiyush Gupta](https://hashnode.com/@Aiyush)

[Aug 23, 2021](https://hashnode.com/posts/the-beginners-guide-to-building-production-ready-apps-with-nextjs-part-one-the-what-how-and-why-of-nextjs/612094dda5d08237f40dfebf/comment/6123b162663d427e19ff83f6)

Brilliant :)

[Mohit Sharma](https://hashnode.com/@mohit007)

[Aug 23, 2021](https://hashnode.com/posts/the-beginners-guide-to-building-production-ready-apps-with-nextjs-part-one-the-what-how-and-why-of-nextjs/612094dda5d08237f40dfebf/comment/612322d6a5d08237f40e2ff8)

Nice one...

[Rahul Kumar](https://hashnode.com/@rahuldsabyte)

[Aug 21, 2021](https://hashnode.com/posts/the-beginners-guide-to-building-production-ready-apps-with-nextjs-part-one-the-what-how-and-why-of-nextjs/612094dda5d08237f40dfebf/comment/6120c009a5d08237f40e0244)

How can we scale it? Suppose i have millions of static pages. By default nextjs keeps these pages in the local disk. When the number of pages increases then disk size might get exceed.

[Rahul Kumar](https://hashnode.com/@rahuldsabyte)

[Aug 22, 2021](https://hashnode.com/posts/the-beginners-guide-to-building-production-ready-apps-with-nextjs-part-one-the-what-how-and-why-of-nextjs/612094dda5d08237f40dfebf/comment/6120c009a5d08237f40e0244#reply-6122279da5d08237f40e1c14)

[Lalit](https://hashnode.com/@lalit2005) That is where my question comes. `getStaticProps`, `getStaticPaths` and `ISR` keeps the pages in local disk. Suppose i want to serve the page from CDN to reduce the load on the server. Then can we do this at run time, i mean upload new pages on to the CDN at run time.

[Lalit](https://hashnode.com/@lalit2005)

[Aug 22, 2021](https://hashnode.com/posts/the-beginners-guide-to-building-production-ready-apps-with-nextjs-part-one-the-what-how-and-why-of-nextjs/612094dda5d08237f40dfebf/comment/6120c009a5d08237f40e0244#reply-61222b34a5d08237f40e1c38)

[Rahul Kumar](https://hashnode.com/@rahuldsabyte) If you use any service like Vercel, they handle all the caching for you. And moreover once a page is cached, any request to that page will not be counted for any bandwidth of 100GB(free plan on Vercel)!!

If you want to show **new content without any rebuilds, you can do it too**! But if your content resides beside your source code, you will have to redeploy. But if you have your data hosted in any CMS or a database, you can just add the `fallback` in `getStaticProps` to either `blocking` or `true`.

If you set it, first it will look for the content in cache, if not found, a static page is built and then cached. In Vercel, pages which are built at runtime are also persisted across deploys.

I hope this clears it, please do ask doubts if any :)

[Rahul Kumar](https://hashnode.com/@rahuldsabyte)

[Aug 23, 2021](https://hashnode.com/posts/the-beginners-guide-to-building-production-ready-apps-with-nextjs-part-one-the-what-how-and-why-of-nextjs/612094dda5d08237f40dfebf/comment/6120c009a5d08237f40e0244#reply-61230359e404793819cabaa5)

[Lalit](https://hashnode.com/@lalit2005) thanks for your answer.

[Vivek Nayar](https://hashnode.com/@viveknayar)

[Aug 21, 2021](https://hashnode.com/posts/the-beginners-guide-to-building-production-ready-apps-with-nextjs-part-one-the-what-how-and-why-of-nextjs/612094dda5d08237f40dfebf/comment/6120a4c1e404793819ca8b9c)

Beautiful article. Loved it! 💙

[Hunter Trammell](https://hashnode.com/@trammellwebdev)

[Aug 21, 2021](https://hashnode.com/posts/the-beginners-guide-to-building-production-ready-apps-with-nextjs-part-one-the-what-how-and-why-of-nextjs/612094dda5d08237f40dfebf/comment/6120a4c1e404793819ca8b9c#reply-61210a8de404793819ca968d)

Thank you Vivek, glad you enjoyed!
