CentenoDev

back arrowBack to projects

Description

The site you're reading this on. Made with a Next.js frontend fed by a Strapi CMS. Development actually went way faster than I thought it would, Next.js has pretty good documentation and Strapi is really easy to use (though their lifecycle hook design I believe needs some work).

Challenges

  • Next.js cache invalidation was giving me some troubles, but it ended up being a misconfiguration on my end regarding how dynamic route params were handled.
  • Initially though about using Strapi's lifecycle hooks for page invalidation but their design is not straightforward and their triggering conditions are way too lenient, so surprisingly a middleware ended up being a better option.

Lessons

  • First time setting up a Next.js project, got a pretty good idea on why its so popular for static-ish sites.