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

    Function routeFamilies

    • The route families a save should prewarm, from the paths it invalidated.

      Prewarms a family, not a URL: the page cache is keyed on the URL but the object is what is cold, so one render of any member (the first path segment) warms the interpreter for the rest. Returns one representative per family.

      Parameters

      • paths: readonly string[]
      • limit: number = 4

      Returns string[]