pub fn write_index( ecosystem: &str, name: &str, data: &[u8], url: &str, etag: Option<&str>, last_modified: Option<&str>, )
Write index data and metadata to cache.