Skip to content

prerender-console-v0.24.0 — @harperfast/prerender-console

Latest

Choose a tag to compare

@harper-joseph harper-joseph released this 01 Oct 23:04
3c53d1e

@harperfast/prerender-console 0.24.0

  • Read cache on the console (#236). The console now answers repeat reads itself instead of passing every one to the prerender nodes, which also serve crawlers. Answers are stored in a node-local table (prerender_console.ProxyRead) that every worker on the console host shares.
    • Retention: analytics and crawl-breadth 60s, metrics 10 min, pages 15s, everything else 5s. session and page-content are never cached.
    • Who sees a cached answer: only an operator whose own session that node has confirmed as a super_user in the last 60s.
    • After a write: every POST that can change state clears the cache before it answers, so the reload after an action reads the node.
    • New field: each entry in sources.nodes[] now carries ageMs.
    • New option: cache: false turns the cache off.
  • Deploy note: the component now has a schema, the prerender_console database. The table is created on first load; there is nothing to migrate.