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

Support Dynamic Cache Timeouts Based on Response #295

Closed
phil-lopreiato opened this issue Nov 28, 2021 · 0 comments · Fixed by #296
Closed

Support Dynamic Cache Timeouts Based on Response #295

phil-lopreiato opened this issue Nov 28, 2021 · 0 comments · Fixed by #296

Comments

@phil-lopreiato
Copy link
Contributor

I'm looking for a way to dynamically configure the cache timeout for a view, for the case where the desired timeout depends on the request parameters.

Imagine a page where the data within is normally very static (and can therefore be cached for days at at time), but with a short window of time where it is expected to update very frequently and thus requires a much shorter expiration.

Currently, this pattern is impossible to express with this library

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant