Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to pass max-age parametar #2647

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fulhade
Copy link

@fulhade fulhade commented Nov 21, 2024

Similar to using "refresh=true," it would be beneficial to have the ability to specify a custom max-age value that differs from the default max-age set in the module configuration or received via cache-control.

max-age is taken as lower value of default (86400) / mod_http_cache configuration, HTTP response header cache-control or passed max-age parameter.

Ideally, this should be handled through cache-control, but unfortunately, users sometimes either lack the knowledge or the option to implement it.

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