'Next.js ISR cache not revalidating

My team have deployed our next.js web application on to an Azure IIS web server with a custom server.js file. I have noticed that when I update the headless CMS, the static page is not updating on the server. Now I have a separate Vercel deployment of the same code (for development) and I can see it updating there when refreshing so something is interferring with the cache.

The infrastructure guy in our team has setup Cloudflare on our domain and wondered if this could be impacting the caching issue that we see? The screenshot below shows the cache-control, are they ok?

enter image description here

Are there any other methods I can do to see where this issue may lie?

Thanks in advance



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source