Send invalidations for index.crates.io when updating crates #4913
Labels
A-backend ⚙️
C-enhancement ✨
Category: Adding new behavior or a change to the way an existing feature works
The HTTP index (index.crates.io) currently has a TTL of 10 minutes and does not send invalidations when publishing new crates. Users may need to wait up to 10 minutes after publishing a crate for it to be visible in the HTTP index.
If we sent invalidations to CloudFront when a crate was updated, we could increase the TTL (for better caching), and users would see updates sooner.
The text was updated successfully, but these errors were encountered: