background icons
background icons 2

Video Belajar

Tonton dan pelajari berbagai topik menarik melalui video pembelajaran eksklusif dari Channel Dave Gray.

Dave Gray

5540

Next.js - What is Cold Boot Duration / Lambda Cold Start?

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

Next.js - What is cold boot duration (aka lambda cold start) and how does it impact my Nextjs app? You will learn the cold boot duration details and why your app is a sleeping serverless function.

💖 Support me on Patreon ➜ https://patreon.com/davegray

⭐ Become a full-stack web dev with Zero To Mastery Courses:
- Complete Next.js Developer: https://bit.ly/CompNextJSDev
- Advanced React: https://bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: https://bit.ly/WebDevRoadmap-JrtoSr

🚩 Subscribe ➜ https://bit.ly/3nGHmNn

📬 Course Updates ➜ https://courses.davegray.codes/

❓ Questions - Please post them to my Discord ➜ https://discord.gg/neKghyefqh

☕ Buy Me A Coffee ➜ https://www.buymeacoffee.com/davegray

👇 Follow Me On Social Media:
Github: https://github.com/gitdagray
Twitter: https://twitter.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/davidagray/

🔗 Refactored Random Quote Generator Code: https://github.com/gitdagray/rqm-refactor

Next.js - What is Cold Boot Duration / Lambda Cold Start?

(00:00) Intro
(00:05) Welcome
(00:28) Getting Started
(00:55) Quick App Overview
(01:59) Identifying Cold Boots in Your Deployed App
(04:30) A Possible Solution
(05:04) Example of a "Sleeping" Serverless Function
(06:41) Thoughts on the current application
(08:36) How I decided to refactor the app

📚 Tutorial References:
🔗 Original Project Video: https://youtu.be/d7XJjQesDtE
🔗 Warm a Vercel-hosted Next.js website with Cloudflare workers: https://awstip.com/keeping-a-vercel-hosted-next-js-website-warm-with-cloudflare-workers-b977633ec985
🔗 Next.js Official Site: https://nextjs.org/
🔗 ES7 React Snippets Extension: https://marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets

Was this Next.js tutorial discussing Cold Boot Duration and serverless functions helpful? If so, please share. Let me know your thoughts in the comments.

#nextjs #cold #boot