You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I reverted #1324 in #1340, they broke search for all crates built by that toolchain. I don't have permissions to remove those files myself, but @pietroalbini should.
@Nemo157 it's not enough to invalidate the path of the shared files, each individual crate has to be invalidated since we give precedence to global files over local ones.
I wonder if it makes sense to add a query string to the global resources with the version of docs.rs they were built by. Then we wouldn't have to keep sending cache invalidations.
Oh wait, that requires rustdoc support :/ maybe we could generate a redirect from the page rustdoc links to? Like redirect crates-2021-03-24.js -> crates-2021-03-24.js?docsrs_version=2021-04-01
Activity
Ralith commentedon Apr 20, 2021
cpal 0.13.3 is also affected.
jyn514 commentedon Apr 20, 2021
The issue is we uploaded all files with the resource-suffix for a few releases:
When I reverted #1324 in #1340, they broke search for all crates built by that toolchain. I don't have permissions to remove those files myself, but @pietroalbini should.
pietroalbini commentedon Apr 20, 2021
Removed those files!
Nemo157 commentedon Apr 20, 2021
hecs search is still broken, it may be that the CDN needs invalidating too.
jyn514 commentedon Apr 20, 2021
@Nemo157 it's not enough to invalidate the path of the shared files, each individual crate has to be invalidated since we give precedence to global files over local ones.
jyn514 commentedon Apr 20, 2021
I wonder if it makes sense to add a query string to the global resources with the version of docs.rs they were built by. Then we wouldn't have to keep sending cache invalidations.
jyn514 commentedon Apr 20, 2021
Oh wait, that requires rustdoc support :/ maybe we could generate a redirect from the page rustdoc links to? Like redirect
crates-2021-03-24.js
->crates-2021-03-24.js?docsrs_version=2021-04-01
jyn514 commentedon Apr 20, 2021
We just did a mass invalidation, this should fixed.