Next.js • Performance • Web
Optimizing Images in Next.js 14
A deep dive into the `next/image` component, AVIF generation, and remote patterns for high-performance visual sites.
LCP and Images
Images are usually the LCP (Largest Contentful Paint) culprit. `next/image` handles lazy loading automatically, but `priority` is the property you need to master for above-the-fold content.
Loader Architecture
If you use a CMS (Contentful, Sanity), don't let Next.js optimize the images again. Use a custom `loader` to leverage the CMS's CDN transformations. It saves build time and bandwidth costs.
Latest articles
View blog
Feb 12, 2025
The State of AI Agents in 2025
Moving beyond simple chatbots to autonomous agents that plan, execute, and verify. A look at the architectures defining the next wave of AI.

Feb 10, 2025
React Compiler: Goodbye useMemo?
React 19's optimizing compiler promises to automate memoization. I tested it on a large codebase to see if manual optimization is truly dead.

Feb 5, 2025
Next.js Middleware Mastery
Advanced patterns for using Edge Middleware to handle authentication, geolocation, and AB testing before the request hits your layout.