Skip to content

prerender-v0.97.3 — @harperfast/prerender

Choose a tag to compare

@harper-joseph harper-joseph released this 01 Oct 20:52
· 18 commits to main since this release
5935a46

@harperfast/prerender 0.97.3

A URL too long to be a cache key is proxied to the origin, not answered 500 (#230).

  • Harper refuses a primary key over 1978 encoded bytes, and the first table read on the bot serve path threw on it, so the crawler got a 500 for a URL the origin serves.
  • CacheKey.fitsKeyLimit(url) is checked where a URL enters: a bot request over the limit is proxied and nothing else (bot_serve bypass, origin_fetch reason key-too-long, one warn); a sitemap <loc> over it is invalid; a render redirecting to one discards the render and keeps the target (a 301 retires the source and adopts nothing, unkeyable-destination); the admin explain and revalidate answer without reading.

No schema or config change: a worker restart loads it.