Skip to content

Commit

Permalink
Merge pull request #2676 from pmeenan/ttl
Browse files Browse the repository at this point in the history
Switch the default ttl to 14 days since last fetched
  • Loading branch information
pmeenan authored Nov 9, 2023
2 parents d3ec730 + 549a06f commit 7758835
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions draft-ietf-httpbis-compression-dictionary.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ limit the life of a dictionary in cases where the dictionary is updated
frequently which can help limit the number of possible incoming dictionary
variations.

The "ttl" value is optional and defaults to 31536000 (1 year).
The "ttl" value is optional and defaults to 1209600 (14 days).

### type

Expand Down Expand Up @@ -222,7 +222,7 @@ Available-Dictionary: \
To be considered as a match, the dictionary must not yet be expired as a
dictionary. When iterating through dictionaries looking for a match, the
expiration time of the dictionary is calculated by taking the last time the
dictionary was written and adding the "ttl" seconds from the
dictionary was fetched and adding the "ttl" seconds from the
"Use-As-Dictionary" response. If the current time is beyond the expiration time
of the dictionary, it MUST be ignored.

Expand Down

0 comments on commit 7758835

Please sign in to comment.