OG tags pre-rendering working fine with Netlify domain but not with custom domain

Hi, @imhashir. My best guess is that the prerendered URL you are requested is showing a cached version.

We have a prerendering debugging support guide here:

The “Some caveats about the prerender service” says this:

We cache the prerendered content for 24 to 48 hours, so you will want to make sure to test with different URLs each time if you are making changes and republishing a lot while you get things dialed in. Most importantly, this cache is NOT invalidated by a new deploy of your site!

This is my best guess about the reason for what you are seeing. If there are other questions about this, please let us know.

1 Like