Parses a Cache-Control header string into a structured object. Handles known directives with optional numeric values.
A delta-seconds directive whose argument is missing or not a number is ignored, so the returned values always match their declared types.
The Cache-Control header string to parse.
A CacheControl object representing the parsed directives.
Parses a Cache-Control header string into a structured object. Handles known directives with optional numeric values.
A delta-seconds directive whose argument is missing or not a number is ignored, so the returned values always match their declared types.