Skip to content

Commit b74c593

Browse files
Remove WebOptimizer recommendation from Bundling and Minificaition topic (#35392)
* Remove WebOptimizer recommendation from Bundling and Minificaition topic * Apply suggestions from code review Co-authored-by: Tom Dykstra <[email protected]> --------- Co-authored-by: Tom Dykstra <[email protected]>
1 parent 693d51d commit b74c593

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

aspnetcore/client-side/bundling-and-minification.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: wadepickett
44
description: Learn how to optimize static resources in an ASP.NET Core web application by applying bundling and minification techniques.
55
ms.author: wpickett
66
ms.custom: mvc
7-
ms.date: 03/14/2021
7+
ms.date: 05/08/2025
88
uid: client-side/bundling-and-minification
99
---
1010
# Bundle and minify static assets in ASP.NET Core
@@ -21,11 +21,11 @@ Bundling and minification primarily improve the first page request load time. On
2121

2222
### Bundling
2323

24-
Bundling combines multiple files into a single file. Bundling reduces the number of server requests that are necessary to render a web asset, such as a web page. You can create any number of individual bundles specifically for CSS, JavaScript, etc. Fewer files mean fewer HTTP requests from the browser to the server or from the service providing your application. This results in improved first page load performance.
24+
Bundling combines multiple files into a single file. Bundling reduces the number of server requests necessary to render a web asset, such as a web page. You can create any number of individual bundles specifically for CSS, JavaScript, etc. Fewer files mean fewer HTTP requests from the browser to the server or from the service providing your application. This results in improved first page load performance.
2525

2626
### Minification
2727

28-
Minification removes unnecessary characters from code without altering functionality. The result is a significant size reduction in requested assets (such as CSS, images, and JavaScript files). Common side effects of minification include shortening variable names to one character and removing comments and unnecessary whitespace.
28+
Minification removes unnecessary characters from code without altering functionality. The result is a significant size reduction in requested assets (such as CSS, images, and JavaScript files). Common effects of minification include shortening variable names to one character and removing comments and unnecessary whitespace.
2929

3030
Consider the following JavaScript function:
3131

@@ -72,9 +72,7 @@ The test app used to generate the figures in the preceding table demonstrates ty
7272

7373
## Choose a bundling and minification strategy
7474

75-
ASP.NET Core is compatible with WebOptimizer, an open-source bundling and minification solution. For set up instructions and sample projects, see [WebOptimizer](https://github.com/ligershark/WebOptimizer). ASP.NET Core doesn't provide a native bundling and minification solution.
76-
77-
Third-party tools, such as [Gulp](https://gulpjs.com) and [Webpack](https://webpack.js.org), provide workflow automation for bundling and minification, as well as linting and image optimization. By using bundling and minification, the minified files are created prior to the app's deployment. Bundling and minifying before deployment provides the advantage of reduced server load. However, it's important to recognize that bundling and minification increases build complexity and only works with static files.
75+
ASP.NET Core doesn't provide a native bundling and minification solution. Third-party tools, such as [Gulp](https://gulpjs.com) and [Webpack](https://webpack.js.org), provide workflow automation for bundling and minification, as well as linting and image optimization. Bundling and minifying before deployment provides the advantage of reduced server load. However, bundling and minification increase build complexity and only work with static files.
7876

7977
## Environment-based bundling and minification
8078

0 commit comments

Comments
 (0)