'Blazor wasm, IIS, compression not for all files

I have a web app created with blazor wasm standalone and published on IIS. I use custom web.config for enable compression, as described here

link

I noticed that not all files are compressed. Files under _content folder (css and js) are non compressed (there is no .br and .gz version).

Is there a way to enable compression also for this files?

Thank you



Solution 1:[1]

I found this:

https://github.com/dotnet/aspnetcore/issues/37836

and seems that files outside framerork folder are not compressed in Net6. There is i way to compress them? should i use IIS dynamic compression? Thank you

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 andreat