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

Specify Cache duration by URL param? #1

Open
seanmavley opened this issue Apr 26, 2020 · 0 comments
Open

Specify Cache duration by URL param? #1

seanmavley opened this issue Apr 26, 2020 · 0 comments

Comments

@seanmavley
Copy link

the config yaml sets for all endpoints using the rspc=1 param

is there an option to specify the duration via a param too? say, rspc=1&rspcDuration=200

Use case is, when I want all pages cached 60 seconds, but just one page cached for a week.

Case in point is this link preview url endpoint, which I would want cached for as long as possible

https://github.com/seanmavley/CockpitLinkPreview

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

No branches or pull requests

1 participant