-
Notifications
You must be signed in to change notification settings - Fork 198
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
https://docs.rs/futures-concurrency/latest/futures_concurrency/
is stale
#1913
Comments
It definitely looks like an invalidation issue, the We don't have any errors being logged from the invalidations and at a glance it seems to be configured correctly, but I don't know whether we have any other tools to see if the invalidations are being processed correctly. Hopefully @syphar has some ideas what to look at. |
Thank you for reporting this! This is really very odd. We don't see any error in the logs, so creating the invalidation request with CloudFront succeeded. The only possible explanation I have is that somehow the invalidation failed, since we don't query & check the invalidation status yet. Currently the CDN caches only for a day, so the pages should be up-to-date now (@scottlamb please ping me if they are not up-to-date now for you, then I'll manually invalidate again). I'll check with infra about CloudFront if they can see any failed invalidations, possibly then reducing the caching time again, and/or writing code to check & retry the invalidations. |
Issues with cache invalidations were reported on GitHub [1], and the team requested to revert a recent change to increase the TTL from 15 minutes to 1 day [2]. [1]: rust-lang/docs.rs#1913 [2]: https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/docs.2Ers.20.2F.20more.20CloudFront.20caching/near/310753638
Since #1961 we have an invalidation queue & reporting on it. We are running with a one-day TTL for some weeks already, so I'm closing this issue as solved. |
When I load https://docs.rs/futures-concurrency/latest/futures_concurrency/ I see version 6.0.1, even if I use Chrome dev tools to disable my browser's cache.
response headers:
Version 7.0.0 was released 21 hours ago, according to https://docs.rs/releases/recent/32 (long enough ago that I had to hit next a bunch to find it!).
Ahh here's the build: https://docs.rs/crate/futures-concurrency/7.0.0/builds/674685
7.0.0 shows up in search and takes me to https://docs.rs/futures-concurrency/7.0.0/futures_concurrency/ which looks as I'd expect. Its headers:
I see mention of CDN invalidations in other issues. E.g. #1877 says they take up to 15 minutes. That's well past, so is it possible that step got entirely skipped for this release for some reason?
The text was updated successfully, but these errors were encountered: