I Checked the Share Preview Image on 130 Pages of My Sites. 64 Get Redrawn From Scratch on Every Fetch
When someone pastes one of my launch pages into Slack, WhatsApp or X, the preview card is the first thing anyone sees of it. For a launch site that's kind of the whole point. The founder shares their listing, the card sh
When someone pastes one of my launch pages into Slack, WhatsApp or X, the preview card is the first thing anyone sees of it. For a launch site that's kind of the whole point. The founder shares their listing, the card shows up, people click.
I've checked a lot of things on my own pages over the last few weeks: status codes, sitemaps, canonicals, cache headers on the HTML. I had never checked what a preview bot actually gets when it asks for the image.
So this morning I did. 13 of my sites, 130 pages (the homepage plus 9 pages spread across each sitemap). For every page I fetched the HTML with a facebookexternalhit/1.1 user agent, read the og: and twitter: tags, then downloaded the first og:image and opened it with Pillow to get its real size. Generated images got fetched twice, one after the other, to see if a second hit was any faster.
All of this ran Nov 25, 2026, roughly 10:20 to 10:30 AM IST, from a box in India. So the absolute timings include distance to my server. Compare them to each other, not to your own numbers.
The tags were fine. 130 of 130.
Every page had og:image, og:title, og:description and twitter:card set to summary_large_image. 128 of the 130 image URLs returned an actual image. If I'd stopped at "are the tags there", I'd have called it done.
The problems were all one level down.
64 of 130 preview images are drawn from scratch on every fetch

Median time to first byte for each site's share preview image, generated vs static (Nov 25 2026)
64 pages use an image generated at request time: Next.js opengraph-image routes on EarlyHunt (10 of 10), IndieHunt (6), Product Hunt Alternatives (6) and SideHunt (2), plus an /og?title=... route on all four press sites (40). Every single one answered with:
cache-control: public, max-age=0, must-revalidate
So nothing in front of my server keeps a copy. Each fetch renders the PNG again, and the second fetch was no faster than the first.
How long that takes, median time to first byte across both fetches:
- EarlyHunt project images: 3.44s (worst single fetch 6.6s)
- IndieHunt: 3.48s (worst 7.8s)
- SideHunt: 1.54s
- the four press sites: 1.37s to 1.43s
- Product Hunt Alternatives: 1.10s
- a plain static
og.pngon the same kind of setup: about 0.9s to 1.4s
The Next.js docs on opengraph-image are clear about why. Generated images are statically optimized and cached by default, unless they use request-time APIs or uncached data. Mine read the project from the database by slug, uncached, so they're rendered every time a bot asks.
How long Slack or X or LinkedIn will wait for an image, I don't actually know. X's developer docs wouldn't even load for my fetcher, and I'm not going to guess a number. But a card image that takes 3 to 8 seconds to start arriving is a bet I'd rather not make on someone's launch day, when the link is being pasted in lots of places at once.
The fix is boring. The image route accepts the same route segment config as a page, so a revalidate on it (a listing's card only changes when the founder edits the listing), or caching the database read with a tag I clear on edit, means the first bot pays for the render and everyone after gets a copy.
24 pages hand bots two images, and 4 point at the wrong page

Every og:image issue I found, by number of pages out of 130
-
EarlyHunt project pages list the same generated image twice, once plain and once with a
?hashon the end. I'm fairly sure both the layout and the page are adding it. -
EarlyHunt's homepage has
https://earlyhunt.com//opengraph-image, also twice. That double slash is a base URL ending in/glued to a path starting with/. It still returns 200, which is exactly why nobody noticed. - Best Launch Platforms sends a PNG and a JPG of the same card on all 10 pages.
-
MakerHunt and SideHunt homepages send the apex image and the
www.copy of it.
Which of two og:image tags a platform picks is up to the platform. None of these duplicates are on purpose, so I'm taking the second tag out rather than finding out.
The one I like least: on Product Hunt Alternatives, 4 pages (one ranking page and three "X vs Product Hunt" comparisons) set og:url to the homepage and og:title to just "Product Hunt Alternatives". Facebook's sharing docs describe og:url as the canonical URL for the thing being shared. So when someone shares "KittyLaunch vs Product Hunt", the card can say it's my homepage. The page-level metadata just never overrides what the layout set.
The images founders upload are where it gets messy
On the launch sites, a listing's preview image is usually whatever the founder uploaded. 32 of the 130 images weren't on the site's own domain: 24 on the upload storage the sites use, 7 hotlinked from the makers' own sites or CDNs, and 1 that isn't a URL at all.
-
1 is a 404. A SideHunt listing points its
og:imageat a file on the maker's own domain. That file is gone, and the URL now answers with an HTML 404 page. -
1 isn't a URL at all. An Aura++ founder page puts a base64
data:image inog:image. Preview bots fetch URLs, so that's no image. I found the same base64 blob when I measured HTML weight on 130 pages for Googlebot's 2MB limit and still hadn't fixed it. That one's on me. - 22 declare a size they aren't. The tags say 1200x630 on every page. The real files include 3701x3320 (953 KB), 2496x1750, 1920x1080, 512x512 and 400x400. The template hard-codes the numbers. I wrote about this exact og:image size mismatch on Medium a month ago, and here it is again on different pages, because I fixed the examples and not the template.
- 6 are smaller than 600x315, mostly square logos. Facebook's image guidelines say anything under 600x315 still shows but much smaller, and they recommend 1200x630 at close to 1.91:1. 104 of the 128 images I could measure were already about 1.9:1, so it's really just the uploads.
The heaviest image was that 953 KB PNG. Nothing came close to the 8 MB cap Facebook and Next.js both mention, so file size isn't my problem. Dimensions and duplicates are.
The script
This is the reader version of what I ran: one page at a time, no crawl. It needs curl and, for the real image size, Pillow.
#!/usr/bin/env python3
# og-check.py: what a link-preview bot sees when it fetches your page and its og:image
# usage: python3 og-check.py https://example.com/ https://example.com/pricing
import sys, re, html, subprocess
from urllib.parse import urljoin
UA = "facebookexternalhit/1.1"
def curl(url, body_file="-"):
fmt = "\n%{http_code}|%{content_type}|%{size_download}|%{time_starttransfer}"
out = subprocess.run(["curl", "-sL", "-m", "20", "-A", UA, "-D", "/tmp/og_h",
"-o", body_file, "-w", fmt, url], capture_output=True)
text = out.stdout.decode("utf8", "ignore")
*body, stats = text.rsplit("\n", 1)
code, ctype, size, ttfb = stats.split("|")
headers = open("/tmp/og_h").read().lower()
cc = re.findall(r"^cache-control:\s*(.+)$", headers, re.M)
return "".join(body), code, ctype, int(float(size)), float(ttfb), (cc[-1].strip() if cc else "-")
def metas(page):
found = {}
for tag in re.findall(r"<meta\s[^>]*>", page):
k = re.search(r'(?:property|name)="([^"]+)"', tag)
v = re.search(r'content="([^"]*)"', tag)
if k and v:
found.setdefault(k.group(1).lower(), []).append(html.unescape(v.group(1)))
return found
def image_size(path):
try:
from PIL import Image
return "%dx%d" % Image.open(path).size
except Exception:
return "?"
for url in sys.argv[1:]:
page, code, *_ = curl(url)
m = metas(page)
print(f"\n{url} [{code}]")
imgs = m.get("og:image", [])
if not imgs:
print(" no og:image"); continue
if len(imgs) > 1:
print(f" WARN {len(imgs)} og:image tags: {imgs}")
og_url = m.get("og:url", ["-"])[0]
if og_url.rstrip("/") != url.rstrip("/"):
print(f" WARN og:url points somewhere else: {og_url}")
img = urljoin(url, imgs[0])
if img.startswith("data:"):
print(" FAIL og:image is a data: URI, preview bots can't fetch it"); continue
_, icode, ctype, size, ttfb, cc = curl(img, "/tmp/og_img")
declared = "x".join(m.get(k, ["?"])[0] for k in ("og:image:width", "og:image:height"))
actual = image_size("/tmp/og_img")
print(f" image {icode} {ctype} {size // 1024} KB, first byte {ttfb:.2f}s")
print(f" size declared {declared}, actual {actual}")
print(f" cache {cc}")
Real output on three of my own pages this morning:
https://earlyhunt.com/ [200]
WARN 2 og:image tags: ['https://earlyhunt.com//opengraph-image', 'https://earlyhunt.com//opengraph-image']
image 200 image/png 90 KB, first byte 1.58s
size declared 1200x630, actual 1200x630
cache public, max-age=0, must-revalidate
https://producthunt-alternatives.com/compare/kittylaunch-vs-product-hunt [200]
WARN og:url points somewhere else: https://producthunt-alternatives.com
image 200 image/png 38 KB, first byte 1.21s
size declared 1200x630, actual 1200x630
cache public, max-age=0, must-revalidate
https://sidehunt.io/project/empiriolabs-ai [200]
image 404 text/html; charset=utf-8 47 KB, first byte 0.11s
size declared 1200x630, actual ?
cache public, max-age=31536000, immutable
That third one is the funny part. The maker's server sends its 404 page with max-age=31536000, immutable, so anything that caches it is told to keep the broken answer for a year.
If you'd rather paste one URL than run a script, I put a meta preview checker on Aura++ that shows the tags and the card. It's free.
What I'm changing
- Cache the generated images on EarlyHunt, IndieHunt and the press sites (a
revalidateon the image route, cleared when a listing is edited). That's 64 of 130 pages. - Remove the duplicate
og:imagetags and the//on EarlyHunt. - Let the comparison pages on Product Hunt Alternatives set their own
og:urlandog:title. - Stop hard-coding 1200x630. Read the real size when the founder uploads, or leave the width and height tags out.
- When an upload is under 600x315 or not roughly 1.91:1, fall back to the generated card instead of a tiny square logo.
- Copy hotlinked images into the site's own storage at submit time, so a maker's site going down doesn't take the card with it.
None of this showed up in any SEO tool I use, because the tags exist and they all return 200. You only see it when you fetch the image like a bot does.
Do you cache your generated OG images, or let them render on every request? I'd like to know if anyone has real numbers on how long Slack or LinkedIn actually wait before they give up.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.