One last thing: you don't need to worry much about performance here. A 2 second delay won't result in diminished UX when posting on socials, and OG images are usually only generated once per resource, so you can infinitely cache them with s-maxage=31536000.