Next.js Discord

Discord Forum

metadata opengraph-image not updating

Answered
Netherland Dwarf posted this in #help-forum
Open in Discord
Netherland DwarfOP
Hello, so i added an opengraph image , but i decided to to change the inage by deleting my opengraph-image.png in my app directory and replace with the new image with same name convention but its not updating- is it because next.js caches?
Answered by riský
As I think it's caching badly, so rebuild with no build cache
View full answer

25 Replies

Netherland DwarfOP
This is the website:

https://www.jtechplumbing.ca
Its showing the old image which is J.Trch
Is this hosted with vercel?
Netherland DwarfOP
The new image is a van
Yes
As I think it's caching badly, so rebuild with no build cache
Answer
Netherland DwarfOP
Okay, thank you i will do that.
(it tried caching my favicon for this reason once)
Netherland DwarfOP
Oh okay , that make sense
On that note i heard v.15 is out but its not stable
Do you know when the stable will come with the react compiler- as i heard they are removing caching
So i just wondering if i have to set caching in my config
In the future
It's a release candidate, which means it's not fully stable, not as bad as canary
Netherland DwarfOP
Oh okay, but i guess it not good to use in production right?
@Netherland Dwarf So i just wondering if i have to set caching in my config
It's a few minor settings you can change to make back to now if you like it
Netherland DwarfOP
Okay thanks, i guess i will wait for the stable to come out and then add the changes
@Netherland Dwarf Oh okay, but i guess it not good to use in production right?
Personally, I can't use it well as redux UI is sad with react 19 rn
@Netherland Dwarf Okay, thank you i will do that.
So how did it go (is your site nice and big 👀)
@riský So how did it go (is your site nice and big 👀)
Eurasian Wigeon
“Site”… right
Netherland DwarfOP
Its fixed yes but i think im going to change the picture again.
yay
that means your problem of this thread is solved!
@Netherland Dwarf Do you know when the stable will come with the react compiler- as i heard they are removing caching
btw the next 15 changes will not affect this og image cache. i think the og image cache is just a bug on the vercel platform, if you self host with npm start, everything still works
Ah yes good point, I didnt draw that connection