we’re using the following setup:
nextjs application deployed as
serverless using github actions and netlify cli (including netlify/plugin-nextjs). This page uses static rendering using
getStaticPaths and ISR with a
revalidate prop set to
10 (so it also exports some functions).
The problem now is, that everything is totally fine on the preview page when deploying, but the production deployment often gets served old content from days ago. It’s the HTML that is outdated with links to hashed css files that don’t exist anymore. When using different browsers on the same machine one might encouter 4-5 different versions of the same resource served to you.
I’m totally unsure how this happens and what could cause these old caches from being served.
Here are some sample requests to the same resource using different browsers, just seconds apart. There was no deploy in between.
I’m thankful for any advice you can give me to nail this problem down.