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

    Function pageKvKey

    • The key a page is stored under.

      The GENERATION is in the key, which is what makes invalidation free: a bump changes every key at once, so nothing has to be enumerated or deleted. That is the same design the caches.default tier uses, and it matters more here -- KV has no bulk delete, so a scheme needing one would be uninvalidatable in practice.

      Parameters

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

      Returns string