Brotli.Bundle 1.0.0

dotnet add package Brotli.Bundle --version 1.0.0                
NuGet\Install-Package Brotli.Bundle -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Brotli.Bundle" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Brotli.Bundle --version 1.0.0                
#r "nuget: Brotli.Bundle, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Brotli.Bundle as a Cake Addin
#addin nuget:?package=Brotli.Bundle&version=1.0.0

// Install Brotli.Bundle as a Cake Tool
#tool nuget:?package=Brotli.Bundle&version=1.0.0                

Brotli can reduce file sizes by up to 30% more than gzip.

This is a simple bundle with Brotli compression that falls back to Gzip and deflate

Installation

You can download this bundle in the NuGet.

How to use

You can use this like the current bundle

/* JS */
bundles.Add(new BrotliScriptBundle("~/bundles/jqueryval", new JsMinify()).Include(
                "~/Scripts/jquery.unobtrusive*",
                "~/Scripts/jquery.validate*"));
                
//CDN
bundles.Add(new BrotliScriptBundle("~/bundles/jquery",
                "http://code.jquery.com/jquery-2.1.4.min.js"));

/* CSS */                

bundles.Add(new BrotliStyleBundle("~/Content/themes/base/css", new CssMinify()).Include(
                "~/Content/themes/base/jquery.ui.core.css",
                "~/Content/themes/base/jquery.ui.resizable.css",
                "~/Content/themes/base/jquery.ui.selectable.css",
                "~/Content/themes/base/jquery.ui.accordion.css",
                "~/Content/themes/base/jquery.ui.autocomplete.css",
                "~/Content/themes/base/jquery.ui.button.css",
                "~/Content/themes/base/jquery.ui.dialog.css",
                "~/Content/themes/base/jquery.ui.slider.css",
                "~/Content/themes/base/jquery.ui.tabs.css",
                "~/Content/themes/base/jquery.ui.datepicker.css",
                "~/Content/themes/base/jquery.ui.progressbar.css",
                "~/Content/themes/base/jquery.ui.theme.css"));
                
//CDN
bundles.Add(new BrotliStyleBundle("~/Content/bootstrap",
                "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"));                

Thanks

Thanks to nolleto (Author of GzipBundle)

Thanks to XieJJ99 (Author of Brotli.Net)

Product Compatible and additional computed target framework versions.
.NET Framework net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 6,415 7/19/2018

Initial Release