Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
18

Latest Updates

Documenting code, one commit at a time.

Strapi 4 posts
×

Bootstrapping a Headless Architecture with Strapi and Next.js

Starting a new project often feels like staring at a blank canvas. Today, I began laying the foundation for a new application using Strapi as our headless CMS, coupled with a robust frontend built in Next.js. The goal is to create a modular, scalable architecture that separates our content management from the user interface.

Setting the Stage

When initiating a project like the

Optimizing Library Integration in Strapi Projects

Improving Maintainability

Managing library configurations in a headless CMS project can quickly become cumbersome as requirements evolve. Recently, while working on the strapi-project repository, I focused on refining the internal library handling. Keeping these modules organized is like maintaining a clean workshop; it ensures you can find your tools quickly when it is time to build new

Optimizing Page Loading with React Suspense in Next.js

Managing data fetching in modern React applications can often lead to fragmented loading states. In the Greg-js1007/strapi-project, we recently refactored our layout architecture to leverage React Suspense, moving away from manual conditional rendering and toward a more declarative loading strategy.

The Challenge with Legacy Loading

Previously, we were handling data fetching state within

Optimizing Data Freshness in Next.js with Strapi Cache Revalidation

Managing data consistency between a headless CMS and a frontend framework can be tricky, especially when your users expect to see real-time updates without sacrificing the performance benefits of static generation.

In the strapi-project, we recently addressed a bottleneck where stale data was persisting in the Next.js cache, leading to a disconnect between content updates in Strapi and what