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

Afficher le fichier Open project: NuGet/NuGet.Services.Metadata

Méthodes publiques

Méthode 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 méthode

public static GetNugetCacheBustingUri ( Uri originalUri ) : Uri
originalUri System.Uri
Résultat System.Uri

GetNugetCacheBustingUri() public static méthode

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
Résultat System.Uri