/// <summary> /// Save current JavaScript bundle as a cached resource on server /// </summary> /// <param name="jsBundle">Current JavaScript bundle</param> /// <param name="name">Name with which to store current bundle</param> /// <returns>Cached bundle access HTML tag</returns> public static string AsCached(this JavaScriptBundle jsBundle, ContentBundle name) { return(jsBundle.AsCached(name.ToString(), "~/assets/js/" + name)); }