From 425894f253edea7d05c3b2c009c4d32c6a8fe7e6 Mon Sep 17 00:00:00 2001 From: Esha Noronha Date: Wed, 27 Nov 2024 09:29:29 +0100 Subject: [PATCH 1/7] Added information about precompresssed files --- .../setup/upgrading/version-specific/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md index b6b93d46589..b63a2c656f2 100644 --- a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md +++ b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md @@ -54,6 +54,14 @@ You can now re-enable precompiled views and rebuild your site. 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`. +**Handling Precompressed Files** + +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. + +To disable this behavior, you can set `false` in your project file. If you are using Umbraco's templates - `dotnet new umbraco`, this setting is already applied. + +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). +
From fde4a6ca8f80c7389c39141caefb039ba53c0af9 Mon Sep 17 00:00:00 2001 From: Esha Noronha Date: Wed, 27 Nov 2024 09:33:31 +0100 Subject: [PATCH 2/7] slight fixes --- .../fundamentals/setup/upgrading/version-specific/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md index b63a2c656f2..eb130ec72c1 100644 --- a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md +++ b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md @@ -56,7 +56,7 @@ If you have custom C# code that references the models this will also not build. **Handling Precompressed Files** -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. +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 but is introduced in ASP.NET Core version 9, where static files are fingerprinted and precompressed by default at build and publish time. To disable this behavior, you can set `false` in your project file. If you are using Umbraco's templates - `dotnet new umbraco`, this setting is already applied. From cc149799d37c59d23e9aa9ce80365bc275097570 Mon Sep 17 00:00:00 2001 From: Esha Noronha <82437098+eshanrnh@users.noreply.github.com> Date: Wed, 27 Nov 2024 09:35:57 +0100 Subject: [PATCH 3/7] Update 15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md --- .../fundamentals/setup/upgrading/version-specific/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md index eb130ec72c1..d1b7ef33fb5 100644 --- a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md +++ b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md @@ -56,7 +56,7 @@ If you have custom C# code that references the models this will also not build. **Handling Precompressed Files** -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 but is introduced in ASP.NET Core version 9, where static files are fingerprinted and precompressed by default at build and publish time. +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. To disable this behavior, you can set `false` in your project file. If you are using Umbraco's templates - `dotnet new umbraco`, this setting is already applied. From dc71e407d1ed98baef47e0171e37eccca38da710 Mon Sep 17 00:00:00 2001 From: Esha Noronha <82437098+eshanrnh@users.noreply.github.com> Date: Thu, 28 Nov 2024 10:48:11 +0100 Subject: [PATCH 4/7] Update 15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md --- .../fundamentals/setup/upgrading/version-specific/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md index d1b7ef33fb5..9a3c510ce7e 100644 --- a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md +++ b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md @@ -58,7 +58,7 @@ If you have custom C# code that references the models this will also not build. 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. -To disable this behavior, you can set `false` in your project file. If you are using Umbraco's templates - `dotnet new umbraco`, this setting is already applied. +To disable this feature, you can set `false` in your project file. If you are using Umbraco's templates - `dotnet new umbraco`, this setting is already included. 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). From 5fe4db5eb4e42e4b3fa08a41a11951531b2118e8 Mon Sep 17 00:00:00 2001 From: Esha Noronha Date: Thu, 28 Nov 2024 10:54:02 +0100 Subject: [PATCH 5/7] Incorporated suggestion --- .../fundamentals/setup/upgrading/version-specific/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md index 9a3c510ce7e..bcceed33e84 100644 --- a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md +++ b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md @@ -58,7 +58,11 @@ If you have custom C# code that references the models this will also not build. 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. -To disable this feature, you can set `false` in your project file. If you are using Umbraco's templates - `dotnet new umbraco`, this setting is already included. +To disable this feature, set `false` in your project file. If you are using Umbraco's templates - `dotnet new umbraco`, this setting is already included. + +{% hint style="info" %} +Set `false` 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. +{% endhint %} 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). From beb4e32ff4e5b1f6f62a9ce58bff6a17ddf28523 Mon Sep 17 00:00:00 2001 From: Esha Noronha Date: Thu, 28 Nov 2024 10:56:01 +0100 Subject: [PATCH 6/7] Removed Note tags --- .../fundamentals/setup/upgrading/version-specific/README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md index bcceed33e84..8f1b752f24d 100644 --- a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md +++ b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md @@ -60,9 +60,7 @@ When upgrading from Umbraco 14 to 15, you might notice that `JavaScript` and `CS To disable this feature, set `false` in your project file. If you are using Umbraco's templates - `dotnet new umbraco`, this setting is already included. -{% hint style="info" %} Set `false` 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. -{% endhint %} 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). From 0d5ca76c64f6d43dfa73c8e1045e3efb6dbea006 Mon Sep 17 00:00:00 2001 From: Esha Noronha <82437098+eshanrnh@users.noreply.github.com> Date: Mon, 2 Dec 2024 09:41:59 +0100 Subject: [PATCH 7/7] Update 15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md Co-authored-by: sofietoft --- .../fundamentals/setup/upgrading/version-specific/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md index 8f1b752f24d..e0d59217ade 100644 --- a/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md +++ b/15/umbraco-cms/fundamentals/setup/upgrading/version-specific/README.md @@ -56,7 +56,7 @@ If you have custom C# code that references the models this will also not build. **Handling Precompressed Files** -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. +When upgrading from Umbraco 14 to 15, you might notice that `JavaScript` and `CSS` files are automatically precompressed, adding additional `.br` and `.gz` files. This behavior is introduced in ASP.NET Core version 9, where static files are fingerprinted and precompressed by default at build and publish time. To disable this feature, set `false` in your project file. If you are using Umbraco's templates - `dotnet new umbraco`, this setting is already included.