🍿 They changed Caching AGAIN in Next.js 15


Hey friend,

Great news! I've locked in a new date for the Live Next.js Workshop ↗️. I'll be announcing some exciting updates and exclusive Next.js 15 content for the Next.js Workshop Waitlist.

​Click here to add yourself so you don't miss out ↗️​
​

🍿 Our Weekly Snack: Next.js 15 and Caching: A Paradigm Shift

Previously (Next.js 14), fetch requests automatically defaulted to caching and you had to purge your cache to opt out of caching.

Remember this?

It's the default option I'm talking about - cache: force-cache.

Next.js 15 introduces a fundamental shift: fetch requests are no longer cached by default 😳.

This empowers developers with greater control over caching strategies, but manual configuration might be required for specific use cases.

Considerations for Upgrading Applications

Upgrading from Next.js 14 to 15 could potentially disrupt applications that rely on the previous caching behaviour.

To maintain consistent behaviour, you may need to explicitly specify cache: 'force-cache' for relevant fetch requests.
​

🀫 Latest Frontend News

Tailwind CSS released a new version of `prettier-plugin-tailwindcss` this week! Now they automatically clean up unnecessary whitespace in class lists β€” huge quality of life improvement!

​You can read all about them here ↗️​

Seamlessly move data fetching between client and server in SWR ↗️​

AI News: All ChatGPT Free users can now use browse, vision, data analysis, file uploads, and GPTs 😳.

​Vercel announced it's firewall ↗️ in their Vercel ship event

​Remix is now React Router V7 🀝 The Remix team is merging Remix with React Router. This means that the features from Remix will be included in the next version of React Router (v7). Users of Remix can keep using it or switch to React Router v7 with a simple import change.

βœ… Dev Productivity Tip

β†’ To remove unused imports in VS Code:
​
Use 🍎 OPTION + Shift + O / πŸͺŸπŸ§ Shift + Alt + O

πŸ’– Weekly Youtube Videos

Check it out and subscribe to my channel ↗️ for more Frontend, Leadership and Career Development content.

Modern Authentication Tutorial with Clerk & Lucia

video preview​

Next.js 15 Crash Course
​
​

video preview​

​

What do you think of today's Newsletter? Simply click on one of the links below.

Ankita Kulkarni

Join 9200+ subscribers reading by weekly personalized Newsletter that helps developers level up their skills through weekly Frontend and Leadership Snacks. You get a deep dive into a Tech topic, Actionable tips to excel in your career and a toolbox!

Read more from Ankita Kulkarni
use cache:remote

Hey Reader, I had the incredible opportunity to speak at the official Next.js Conf!. It’s been 2.5 years since I went full-time as a Tech Educator, and this moment truly feels like a milestone. In my talk, I share how I built a custom course platform using Next.js (the same one that powers Modern Full Stack Next.js Course) along with the lessons and challenges I faced along the way. If you'd like, you can watch the talk here! Weekly Snack: Caching Patterns for Dynamic Components in Next.js 🍿...

React 19.2 Activity

Hey Reader, I’ve been diving deep into React 19.2 and Next.js 16 Beta this week, and honestly, it’s such a solid update. I have started to incorporate so many of the features in my Next.js Custom Course Platform and have seen massive improvements. But before we jump into this week’s snack, let’s hear it from our sponsor. πŸ‘‡ But before that, let's hear it from our Sponsor. PRESENTED BY CODERABBIT AI Most AI test tools just throw random assertions at your code and call it β€œcoverage.” But they...

useEffectEvent

Hey Reader, This week was huge for web dev πŸš€. React 19.2 just landed with fixes for some of the most annoying bugs, Sonnet 4.5 dropped with major AI upgrades, and the ecosystem feels like it’s moving faster than ever. I’ve rounded up the highlights (and why they matter) along with this week’s Snack for you below πŸ‘‡ But before that, let's hear it from our Sponsor. PRESENTED BY CODERABBIT AI Most AI code reviewers feel shallow, they look at syntax, patterns, maybe a guideline or two, but they...