internal static IEnumerable <KeyValuePair <string, string> > GetAllCacheBreakerUrls() => CacheBreakerUrls.ToList();
/// <summary> /// Given the URL to a static file, returns the URL together with a cache breaker, i.e. ?v=123abc... appended. /// The cache breaker will always be based on the local version of the file, even if the URL points to sstatic.net, /// and only calculated once. /// </summary> /// <param name="path">The path to get a cache breaker for.</param> public static string GetCacheBreakerUrl(string path) => CacheBreakerUrls.GetOrAdd(path, CalculateCacheBreakerUrl);