http-extensions icon indicating copy to clipboard operation
http-extensions copied to clipboard

Required support

Open mnot opened this issue 1 year ago • 2 comments

We should specify what implementations are required to support if they choose to implement this spec, e.g.:

  • group labels with at least n characters
  • at least n groups per resource
  • at least n groups per invalidation header

mnot avatar Dec 08 '23 00:12 mnot

Fastly - docs

  • 1024 bytes for each group label
  • 16,384 max bytes for whole header

Cloudflare - docs

  • no max length on a label in header; 1024 bytes in API
  • 16k overall limit on whole set of tags

Akamai - docs

  • 128 characters per group label
  • 128 groups per response

mnot avatar Dec 08 '23 00:12 mnot

Based on those limits and being conservative, we could say that an implementation should support at least 128 groups, each with a 128 character label.

mnot avatar Dec 08 '23 00:12 mnot