Skip to content

Commit 5fe4db5

Browse files
committed
Incorporated suggestion
1 parent dc71e40 commit 5fe4db5

File tree

1 file changed

+5
-1
lines changed
  • 15/umbraco-cms/fundamentals/setup/upgrading/version-specific

1 file changed

+5
-1
lines changed

15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ If you have custom C# code that references the models this will also not build.
5858

5959
When upgrading from Umbraco 14 to 15, you might notice that `JavaScript` and `CSS` files are automatically precompressed, resulting in additional `.br` and `.gz` files. This behavior is not specific to Umbraco. It is introduced in ASP.NET Core version 9, where static files are fingerprinted and precompressed by default at build and publish time.
6060

61-
To disable this feature, you can set `<CompressionEnabled>false</CompressionEnabled>` in your project file. If you are using Umbraco's templates - `dotnet new umbraco`, this setting is already included.
61+
To disable this feature, set `<CompressionEnabled>false</CompressionEnabled>` in your project file. If you are using Umbraco's templates - `dotnet new umbraco`, this setting is already included.
62+
63+
{% hint style="info" %}
64+
Set `<CompressionEnabled>false</CompressionEnabled>` in your Umbraco project to avoid compressing backoffice files unnecessarily. For your own web project, set it to `true` to improve performance by serving precompressed assets to users.
65+
{% endhint %}
6266

6367
For more details, see the [ASP.NET Core Documentation](https://learn.microsoft.com/en-us/aspnet/core/migration/80-90?view=aspnetcore-9.0&tabs=visual-studio#replace-usestaticfiles-with-mapstaticassets).
6468

0 commit comments

Comments
 (0)