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

Don't update the ratelimits if we got a response from a cache #2273

Merged
merged 1 commit into from Feb 17, 2022

Commits on Feb 7, 2022

  1. Don't update the ratelimits if we got a response from a cache

    The recommended cache, https://github.com/gregjones/httpcache, returns
    an X-From-Cache: 1 header whenever it serves a response from the cache.
    
    Cached responses might include (possibly stale) ratelimit headers, which
    we would've already processed in the past.
    Jille committed Feb 7, 2022
    Copy the full SHA
    2b58fd7 View commit details
    Browse the repository at this point in the history