🍿 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 6000+ 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

Hey friend, I'm excited to announce the launch of my new AI SaaS project - SpeakEasy AI ↗️. It allows you to convert your video into a blog post. You can upload any video you like, and it will turn into a beautiful, SEO-friendly blog post. If you have been holding off from shipping a SaaS app, now is your chance! Here is the entire course, πŸš€ Important News To better focus on the upcoming Next.js Course launch πŸš€, Frontend Snacks (this newsletter) will transition into a monthly newsletter. It...

Open AI Whisper with UploadThing

Hey friend, I have been heads down creating a free AI SaaS tutorial which is going to be massive on my channel. This will teach you how to ship a AI SaaS. I can't wait to share more. Based on popular demand, I'm running the Next.js Workshop ↗️ for the final time. I won't be running this workshop again. It is a Live 1-day Next.js Workshop that teaches you the best practices to design, build and deploy full-stack production-ready apps. ⏰ When: September 3rd, 9am to 3pm ESTπŸ“ Where: Zoom 🎁 For a...

Hey friend, I gave a talk at React Rally ↗️ on React Framework Showdown and compared Next.js, Remix and Astro. I didn't hold back and gave some hot takes 🌢️. It can be nerve-wracking to give your opinions when you have so many folks in the audience actively working on the frameworks. The talk went really well. I'll let you know once the recording is out. But today's newsletter will focus on parts of the talk. -> I forgot to hit this newsletter's schedule button while travelling, so that's my...