Resolve an unexpired short URL by its public external id. Used by the
public redirect Lambda — intentionally not customer-scoped because the
external id is globally unique (sqids-encoded primary key).
Cache strategy: cache the row including expiresAt so the expiry check
remains precise within the TTL window. Negative-cache null to absorb
scanner traffic against nonexistent ids.
Resolve an unexpired short URL by its public external id. Used by the public redirect Lambda — intentionally not customer-scoped because the external id is globally unique (sqids-encoded primary key).
Cache strategy: cache the row including
expiresAtso the expiry check remains precise within the TTL window. Negative-cachenullto absorb scanner traffic against nonexistent ids.