Skip to content

[Cache] Stale #56

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

Closed
joelwurtz opened this issue Feb 1, 2016 · 1 comment
Closed

[Cache] Stale #56

joelwurtz opened this issue Feb 1, 2016 · 1 comment

Comments

@joelwurtz
Copy link
Member

Plugin who use the same method as the CachePlugin to determine if the request can be cacheable or not but with the respect_cache_headers to false by default.

However it only return the cached item if there is an exception (error) during the call.

@dbu
Copy link
Contributor

dbu commented Feb 2, 2016

good idea. we could optionally support the stale-if-error cache control if present. with an async client, it could even be possible to return a stale response and update the cache at the same time. not sure if this would be the same plugin or a different one. depends hugely on the usecase whether this makes sense or not.

@dbu dbu changed the title StaleCachePlugin [Cache] Stale Feb 17, 2016
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

3 participants