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

    Function readPage

    • Reads a stored page, or null for a miss.

      Never throws. A KV read that fails is a cache miss, because the alternative is a 500 on a path that has a working fallback one tier down.

      Parameters

      • env: PageStoreEnv | null | undefined
      • site: string
      • generation: string | number
      • path: string

      Returns Promise<StoredPage | null>