Skip to content

FEATURE: Add configuration maxSharedCacheTime and enableAgeHeaders - #29

Merged
mficzel merged 1 commit into
mainfrom
feature/sharedMaxAge
Sep 4, 2026
Merged

FEATURE: Add configuration maxSharedCacheTime and enableAgeHeaders#29
mficzel merged 1 commit into
mainfrom
feature/sharedMaxAge

Conversation

@mficzel

@mficzel mficzel commented Sep 4, 2026

Copy link
Copy Markdown
Member
    # enable adding of public age headers with the actual age of the cached record
    # consider disabling this if the public max-ages or s-maxage are lower than the internally allowed ages
    publicAge: true

    # the maximum value for the `s-maxage` directive for the Cache-Control header
    # set to 0 if you do not want to add the directive
    maxSharedCacheTime: 0

```
    # enable adding of public age headers with the actual age of the cached record
    # consider disabling this if the public max-ages or s-maxage are lower than the internally allowed ages
    publicAge: true

    # the maximum value for the `s-maxage` directive for the Cache-Control header
    # set to 0 if you do not want to add the directive
    maxSharedCacheTime: 0
```
@mficzel
mficzel merged commit 8a60e87 into main Sep 4, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant