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

    Function ttlFor

    • How long a result stays usable.

      A POST result is short-lived on purpose: past the token's lifetime it is a replay window, not a stale page. Two minutes matches the tokens this serves.

      Parameters

      • method: string
      • url: string = ''

      Returns number