
One Trick to Clear Cached Data in Next.js
Caching problems in Next.js can be a headache, but one line of code might be all you need to fix it. Learn the trick that saved me hours and could save you too.
Cooking up something special

Caching problems in Next.js can be a headache, but one line of code might be all you need to fix it. Learn the trick that saved me hours and could save you too.
Understanding computational complexity is key to writing efficient code. In this blog, I explore Linear, Log-Linear, Quadratic, and Exponential time complexities with relatable examples and practical insights.

Discover the fundamentals of computational complexity and Big O notation in this beginner-friendly guide. Learn how to measure algorithm efficiency with practical examples and relatable insights that simplify these core concepts in computer science.

Building custom authentication forms can enhance your app's user experience while keeping it secure. In this guide, we’ll explore how to use Clerk with Next.js, TypeScript, and Tailwind CSS to design sleek, responsive sign-up forms. By breaking down the code into manageable steps, we’ll show you how to implement essential authentication features, including error handling, Google sign-in, and email verification.
Learn how to prevent cross-site scripting (XSS) attacks by safely storing sanitized HTML content as strings in your database using Node.js and sanitize-html.

Today, there are over 1.11 billion websites, a staggering increase from just one in 1991, with 350.4 million registered domains. It’s fascinating to see how far we’ve come. Despite the diversity, a common thread is that all these websites are in production. I will cover a guide on how to deploy your NEXT JS 14^ and NextAuth 5^ to production using AWS amplify.
Recently i was creating custom authentication using Next.js and Next-auth and i found no clear explanation online on how to do it, so i customized my own, here is how i went around it,