C# Class NuGet.Services.Metadata.Catalog.Utilities

Mostrar archivo Open project: NuGet/NuGet.Services.Metadata

Public Methods

Method Description
GetNugetCacheBustingUri ( Uri originalUri ) : Uri
GetNugetCacheBustingUri ( Uri originalUri, string timestamp ) : Uri

Adding the timestamp to the URI as a query string ensures a cache miss with the CDN

Method Details

GetNugetCacheBustingUri() public static method

public static GetNugetCacheBustingUri ( Uri originalUri ) : Uri
originalUri System.Uri
return System.Uri

GetNugetCacheBustingUri() public static method

Adding the timestamp to the URI as a query string ensures a cache miss with the CDN
public static GetNugetCacheBustingUri ( Uri originalUri, string timestamp ) : Uri
originalUri System.Uri
timestamp string
return System.Uri