๐Ÿฟ 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
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...

use-cache

Hey Reader, Iโ€™ve got some fun news to share ๐ŸŽ‰ Iโ€™m beyond excited to share that Iโ€™ll be speaking at the official Next.js Conf ๐Ÿ’–. Iโ€™m one of the featured speakers (!!) and would love for you to join me. My talk is called:โ€œBuild. Scale. Teach: Architecting and Scaling a Production-Ready Modern Course Platform with Next.jsโ€ Make sure to sign up here and come hang out during my sessions ๐Ÿš€ And... I finally made the move to Italy ๐Ÿ‡ฎ๐Ÿ‡น. Back in 2019 I almost moved to Europe, but the world had other...