DocumentationCaching

Caching

Reuse renders to reduce latency and usage.

Caching stores rendered outputs so repeated requests return instantly.

Enable caching

{
  "url": "https://example.com",
  "cache": {
    "enabled": true,
    "ttl_seconds": 86400
  }
}

Cache keys

{
  "url": "https://example.com",
  "cache": {
    "enabled": true,
    "key": "homepage-dark"
  }
}

Behavior

  • Cache hits skip rendering.
  • Cache hits do not count toward usage.
  • TTL defaults to 4 hours if not specified.
Updated 1 day ago
Did this page help you?