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

    Function throughSpool

    • Answers a request through spool when it applies, and through the page pipeline alone otherwise.

      Spool answers /spool-sw.js and /.spool/* itself, decorates an eligible page so a device can keep it, converts an image the browser can take as WebP, and rewrites a page's video tags and embeds. The pipeline runs underneath unchanged, so every cache tier is the one a visitor met before spool existed and no stored page is a decorated one.

      Parameters

      Returns Promise<Response>