uv/crates/uv-distribution-types
Charlie Marsh 405ef66cef
Allow users to override index `cache-control` headers (#14620)
## Summary

You can now override the cache control headers for the Simple API, file
downloads, or both:

```toml
[[tool.uv.index]]
name = "example"
url = "https://example.com/simple"
cache-control = { api = "max-age=600", files = "max-age=365000000, immutable" }
```

Closes https://github.com/astral-sh/uv/issues/10444.
2025-07-15 10:00:04 -04:00
..
src Allow users to override index `cache-control` headers (#14620) 2025-07-15 10:00:04 -04:00
Cargo.toml Require disambiguated relative paths for `--index` (#14152) 2025-06-25 10:02:06 +02:00