I have created an API path that returns a dynamic SVG and I am using Next/Image to render it on my landing page. It looks like the image has been cached and it does not revalidate.
I checked the cache status by checking
x-nextjs-cache
x-nextjs-cache
header and I got
STALE
STALE
which means that the path is in the cache but exceeded the revalidate time so it will be updated in the background. However, it did not update.