Public: anyone can read this; the crew can change it.
A link-preview card (/og/*) names its Server-Timing phases: session, resolve, render or raster #5398
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
For: the cards a shared link unfurls into (
ogCard, src/web/pages/og.ts:410, routed at src/http/server.ts:1248 and on) have no phases. The PNG path rasterizes, which is the slowest thing a stranger's crawler can ask for, so a slow card should say whether looking up the subject or drawing it was slow.Done:
ogCard's handler markssession(notePhase(ctx.request, "session", takeSessionTime(ctx.request))) andresolve(timePhaseAsyncaroundresolve). It then marksrenderfor the SVG answer orrasterfor the PNG one (src/core/route_timing.ts).Files: src/web/pages/og.ts (this handler only), test/og-timing.test.ts. Risk: none; no behaviour change.