Questions tagged [weboptimizer]
A bundler and minifier of CSS and JavaScript for .net core
weboptimizer
13
questions
0
votes
1
answer
50
views
WebOptimizer cache busting not working on Azure
I am using ASP.NET Core Web Optimizer. It has cache busting feature that will append a unique string to the end of script or CSS links.
A sample of the appended string is like this: ....script.js?v=...
0
votes
0
answers
29
views
Setting the order of bundled scripts in WebOptimizer
I am using WebOptimizer in an ASP.NET Core app with pretty standard config like
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc();
services.AddWebOptimizer(...
1
vote
1
answer
669
views
.NET Core 8 bundling and minifying with WebOptimizer
I'm starting to work with ASP.NET Core 8 (MVC with Razor), and I'm getting this b-omgphq2ymd "tag" added to my HTML elements. What is this? What's the purpose?
From this:
<button class=&...
0
votes
3
answers
471
views
Disable WebOptimizer bundling for DEBUG mode
I am migrating a .NET Framework project to .NET 6.
Old bundling logic in .NET framework had the below code:
#if DEBUG
BundleTable.EnableOptimizations = false;
#else
BundleTable....
1
vote
2
answers
145
views
Can WebOptimizer pipeline be created in a separate file?
I am working on a MVC project with .NET 6. I am using WebOptimizer for bundling and minification. The documentation mentions creating a bundling pipeline, like below.
public void ConfigureServices(...
0
votes
1
answer
75
views
Multiple widget instances with weboptimizer
We are using weboptimizer on an Umbraco 12 .NET projet for pre-bundling and minifying css/js files. We were using clienddependency on previous Asp.NET Umbraco 7 projects.
We are currently asking ...
1
vote
0
answers
271
views
Static files and WebOptimization bundles not found after ASP.NET project has been converted to a Topshelf service
I have an existing .NET 6 web project (ASP.NET MVC) which was using the new styled initialization - everything in Program.cs. So far so good, everything is running smoothly at this stage.
I'm turning ...
-1
votes
1
answer
918
views
Web optimizer .net core
Upgrading .net 4.8 mvc app to .net 6. I am keeping the static content in the same folders as in the previous web app project and using the web optimizer to minify and bundle.
I am seeing lot of ...
2
votes
1
answer
1k
views
using WebOptimizer and pre-minimized files?
If I am using the WebOptimizer -- https://github.com/ligershark/WebOptimizer -- for bundling and minification in my ASP.Net Core application is there any need to keep the minified versions of the ...
12
votes
2
answers
5k
views
.net core weboptimizer not creating a bundle
I'm trying to use https://github.com/ligershark/WebOptimizer as suggested by microsoft in order to bundle and minimise my js files, so following the instructions, I have the following in my startup.cs:...
0
votes
0
answers
231
views
WebOptimizer - 404 for images but okay for js/css
I wonder, why is it may going on? All content lies at the same root but js/css are rolled up into bundles and I guess the issue lies somewhere there around the bundles.
1
vote
1
answer
599
views
Removing Responding from memory cache messages form info log level
ASP.NET Core 5 MVC application uses Weboptimizer (https://github.com/ligershark/WebOptimizer) in Debian linux.
In startUp.cs I have:
public void ConfigureServices(IServiceCollection services)
{...
1
vote
0
answers
804
views
Customize WebOptimizer Cache Busting Algorithm
I am using ASP.NET Core Web Optimizer. It has cache busting feature that will append a unique string to the end of script or CSS links.
A sample of the appended string is like this: ....script.js?v=...