Andrey Taritsyn
Andrey Taritsyn
Try updating to [version 2.13.9 Preview 2](https://github.com/Taritsyn/WebMarkupMin/releases/tag/v2.13.9-preview.2).
It is possible that the `GetBytes` method sometimes returns an empty byte array. All this looks like some kind of error in the `Encoding.GetBytes` method or `ArrayPool` class which occurs...
Does the `GenerateStatistics` option still prevent this error?
Removing `AddHttpCompression()` from the `AddWebMarkupMin()` chain reduces the load on CPU and RAM. In this case, it could just be lucky. `GenerateStatistics=true` option on the contrary increases such a load,...
> I also attempted to substitute `NullLogger` with my own `ILogger` implementation, and I verified that when a blank page occurred, `ILogger.Info()` was triggered… By the way, here it would...
> ... `statistics` is always `null`... Here you are wrong, if the `GenerateStatistics` option is set to `true` and HTML minification was successful, then the `Info` method of logger will...
> … demo project and send me a link to it. Here I mean a link to the source code of simple web application, not to a live demo website.
@MenClapBadly, thanks for your research! When I have free time, I will definitely look for a solution to this problem.
This error has been fixed in [version 2.14.1](https://github.com/Taritsyn/WebMarkupMin/releases/tag/v2.14.1).
Hello, Afshin! > JavaScriptEngineSwitcher.V8.Native.win-x64 You can uninstall the JavaScriptEngineSwitcher.V8.Native.win-x64 package because it is no longer needed now (it is enough just to install the Microsoft.ClearScript.V8.Native.win-x64 package). > `… in type...