drupflare/worker - v1.0.4
    Preparing search index...

    Function pageResponse

    • One stored page, as an HTTP response. x-cfw-generation rides on every serve response so the Worker learns the generation without a Durable Object request.

      Parameters

      • site: SitePhpDurableObject
      • row: PageRow
      • tier:
            | "PLAN"
            | "RENDER"
            | "STALE"
            | "HIT"
            | "MISS"
            | "ASSEMBLED"
            | "VERIFY"
            | "EDGE"
            | "MEM"
            | "KV"
            | "DENY"
            | "AGED"
            | "REFUSED"
            | "ERROR"
      • serveMs: number
      • extra: Record<string, string> = {}

      Returns Response