It depends on the cache settings in index.html and how the server is configured. To answer the question appropriately, the following details are helpful.
- Are you using create-react-app / next / gatsby / custom webpack config?
- How are you serving images? (CDN?)
- How are you serving JavaScript and CSS files? (Express server, something like serve?, IIS, Apache?)