Something went wrong. Try again.
atmo.rsvp
Something went wrong. Try again.
fix(og): serve a revalidating cache policy and ETag for event cards master
The OG image was served with the sveltekit-og default Cache-Control: public, immutable, no-transform, max-age=31536000, so once a CDN or scraper fetched a card it never reflected later event edits (renamed event, new date, new thumbnail). Override the header with a short revalidating policy, add a weak ETag derived from the event record CID (with a content hash fallback when the CID is absent), and answer a matching If-None-Match with a bare 304 before rendering. Unchanged cards stay cheap and an edit reaches fresh scrapes in minutes instead of a year. Fixes flo-bit/atmo-events#41.
Author Tom Scanlan Date (Jul 11, 2026, 5:50 PM UTC) Commit e6a19ae9 e6a19ae99e9237e5448a56488799cb89a1502d7f Parent 2d31b4ac 2d31b4ac5fd7f860f440406f14d69a979b784e60