Setu-TS
    Preparing search index...

    Type Alias CacheRefusal

    CacheRefusal:
        | "method"
        | "status"
        | "partial-content"
        | "vary-star"
        | "set-cookie"

    Why the edge cache would refuse a response.

    Type Declaration

    • "method"

      The request method is not GET; the Cache API caches GET only.

    • "status"

      The status is outside the configured cacheable set.

    • "partial-content"

      The status is 206; the platform refuses partial content unconditionally.

    • "vary-star"

      The response carries Vary: *, which the platform refuses.

    • "set-cookie"

      The response carries Set-Cookie without Cache-Control: private=Set-Cookie.

    0.2.0