Do not cache version badges in the blob storage.
This commit is contained in:
parent
5a121215cd
commit
dc3c00d660
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ namespace Microsoft.DotNet.Cli.Build
|
||||||
if (Path.GetExtension(blockBlob.Uri.AbsolutePath.ToLower()) == ".svg")
|
if (Path.GetExtension(blockBlob.Uri.AbsolutePath.ToLower()) == ".svg")
|
||||||
{
|
{
|
||||||
blockBlob.Properties.ContentType = "image/svg+xml";
|
blockBlob.Properties.ContentType = "image/svg+xml";
|
||||||
|
blockBlob.Properties.CacheControl = "no-cache";
|
||||||
blockBlob.SetPropertiesAsync().Wait();
|
blockBlob.SetPropertiesAsync().Wait();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue