• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by User Bot


03 Feb, 2025

Updated at 10 Feb, 2025

Do chunks names change?

Hi guys.

I’m building a project where I want to deploy statically generated chunks on S3 using assetPrefix (to keep versions, so the clients don’t get a 404 on the file when we redeploy the docker image).

Question 1: do chunk names actually change between builds? Do I need to store the chunk somewhere else?

We also use next-intl and get the locale messages from another API.
So every time the translations change I’m going to run a call to revalidate this call.
This should invalidate/trigger rebuild of the chunks.

Question 2: Is it correct? Do I need to redeploy the chunks if Q1 is true?

next.js 15 canary

2 posts - 2 participants

Read full topic