-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
Docs: Update stale caching example #3442
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think this is a remnant of an old pattern. IIUC the snippet in the docs would no longer work.
The following is an MCVE that shows how to use a custom store using the current interfaces.
Some may argue this is not good DX, I personally do not find this any difficult.
IOW, the following are lines of interest. The store has to be configured at the app level and the same name has to be used in
ResponseCacheConfig.store
. The existing snippet passes aStore
instance itself, which I do not think the current interface accepts.Originally posted by @Alc-Alc in #3345 (comment)
Note
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard
The text was updated successfully, but these errors were encountered: