Amazon Vinyl
    Preparing search index...
    • Parses a Cache-Control header string into a structured object. Handles known directives with optional numeric values.

      Parameters

      • str: string | null | undefined

        The Cache-Control header string to parse.

      Returns CacheControl

      A CacheControl object representing the parsed directives.