{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/weboptimizer/","markdown":"https://findsoftware.frbit.cloud/weboptimizer.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"webOptimizer","name":"WebOptimizer","urls":{"repository":"https://github.com/ligershark/WebOptimizer","docs":"https://ligershark.github.io/WebOptimizer/"},"category":["build-tool"],"description":"ASP.NET Core middleware that bundles and minifies CSS and JavaScript files at runtime and keeps the output in memory.","maintainer":"LigerShark","firstRelease":2017,"hosting":null,"language":"csharp","runtime":["dotnet"],"runtimeMin":"dotnet 8.0","basedOn":["aspnet-core"],"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"renderingModes":null,"installMethod":"dotnet add package","licenseModel":"open-source","license":"Apache-2.0","currentMajor":"3","latestReleaseDate":"2025-09-03T00:00:00.000Z","githubStargazers":839,"contributors":60,"packagistDownloads":null,"npmWeeklyDownloads":null,"checkedAt":"2026-10-28T00:00:00.000Z","addedAt":"2026-10-28T00:00:00.000Z","sources":[{"field":"urls","url":"https://api.github.com/repos/ligershark/WebOptimizer","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"urls","url":"https://ligershark.github.io/WebOptimizer/","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"category","url":"https://raw.githubusercontent.com/ligershark/WebOptimizer/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"basedOn","url":"https://raw.githubusercontent.com/ligershark/WebOptimizer/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"maintainer","url":"https://raw.githubusercontent.com/ligershark/WebOptimizer/master/src/WebOptimizer.Core/WebOptimizer.Core.csproj","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/ligershark/WebOptimizer","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"runtime","url":"https://raw.githubusercontent.com/ligershark/WebOptimizer/master/src/WebOptimizer.Core/WebOptimizer.Core.csproj","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"runtime","url":"https://raw.githubusercontent.com/ligershark/WebOptimizer/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"runtimeMin","url":"https://raw.githubusercontent.com/ligershark/WebOptimizer/master/src/WebOptimizer.Core/WebOptimizer.Core.csproj","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"license","url":"https://raw.githubusercontent.com/ligershark/WebOptimizer/master/src/WebOptimizer.Core/WebOptimizer.Core.csproj","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"license","url":"https://api.github.com/repos/ligershark/WebOptimizer","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.nuget.org/v3/registration5-semver1/ligershark.weboptimizer.core/index.json","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.nuget.org/v3/registration5-semver1/ligershark.weboptimizer.core/index.json","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"firstRelease","url":"https://api.nuget.org/v3/registration5-semver1/ligershark.weboptimizer.core/index.json","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/ligershark/WebOptimizer/master/README.md","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/ligershark/WebOptimizer","checkedAt":"2026-10-28T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/ligershark/WebOptimizer/contributors","checkedAt":"2026-10-28T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"WebOptimizer is middleware for ASP.NET Core that bundles and minifies CSS and JavaScript files while the application runs. It is registered through `services.AddWebOptimizer` and `app.UseWebOptimizer`. The pipeline is set up when the application starts, and each output is generated on the first browser request for it.\n\nBundles and minification rules are defined in code and can use glob patterns. The output is kept in memory and not written to disk. Tag helpers add a version string to the `script` and `link` tags that refer to registered files, and an `inline` attribute copies a file's content into the page.\n\n## Worth knowing\n\nThe library runs inside the ASP.NET Core application it is added to, so the application process produces the bundles. The README describes memory and disk caches as settings, and the disk cache is meant to speed up application restarts."}