Skip to content

Commit 425894f

Browse files
committed
Added information about precompresssed files
1 parent 36f4b24 commit 425894f

File tree

1 file changed

+8
-0
lines changed
  • 15/umbraco-cms/fundamentals/setup/upgrading/version-specific

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ You can now re-enable precompiled views and rebuild your site.
5454

5555
If you have custom C# code that references the models this will also not build. You can either comment out your custom code temporarily until the models have been rebuilt or fix the models manually. To fix the models manually you need to find and replace `IPublishedSnapshotAccessor` with `IPublishedContentTypeCache`.
5656

57+
**Handling Precompressed Files**
58+
59+
When upgrading from Umbraco 14 to 15, you might notice that `JavaScript` and `CSS` files are automatically precompressed. This results in additional `.br` and `.gz` files. This behavior is not specific to Umbraco. It comes from ASP.NET Core version 9 where static files are fingerprinted and precompressed by default at build and publish time.
60+
61+
To disable this behavior, you can set `<CompressionEnabled>false</CompressionEnabled>` in your project file. If you are using Umbraco's templates - `dotnet new umbraco`, this setting is already applied.
62+
63+
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).
64+
5765
</details>
5866

5967
<details>

0 commit comments

Comments
 (0)