Issues with Image Caching in Next.js: Previous Images Displayed Instead of Updated Ones #70316
Unanswered
Farhan-Ajmal-1
asked this question in
Help
Replies: 1 comment
-
Looks like a cache issue to me.
If your images don't have a SHA-hash in the file name e.g. You can try configuring the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
The problem I had was with images in Next.js. The website shows images when running locally, but they don’t appear when it's live. I fixed it before by upgrading from version 13 to 14, but I’m not sure why that worked—I just tried upgrading the version and it solved the issue
I'm facing another issue. The images are coming from Hostinger and are updated with the same name, but the website still shows the previous images. When I switch from the Next.js Image component to the Chakra UI Image component, it works perfectly fine. I don't understand why Next.js images behave this way.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions