I currently have a Next.js application running in production that is powered by Strapi for content management. The content is fetched using the getStaticProps
function on each of the two pages in my small blog.
However, I've noticed that when new content is created or existing content is updated, the Next.js app fails to fetch the latest changes. It seems like this might be happening because of the initial fetching at build time.
Is there a way to dynamically fetch content on the client side while still benefiting from SEO advantages? Any suggestions or ideas would be greatly appreciated!
Thank you in advance! :)