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

    Function pageMirrorKey

    • The R2 key for one page.

      The generation is in the key, so invalidation is one counter bump instead of a Class A delete per path; the orphans are swept via staleGenerationPrefix. The path is percent-encoded because a raw ? or # would make the object unaddressable over HTTP.

      Parameters

      • site: string
      • generation: number
      • path: string

      Returns string