From 9a4f772015d59cf1dcfe8d0987fe2f92cfe42b4e Mon Sep 17 00:00:00 2001 From: Nigro Simone Date: Mon, 3 Aug 2026 07:29:59 +0200 Subject: [PATCH 1/2] perf: remove @defer @defer creates another (very small) chunk, which is disadvantageous in this case; it is beneficial for larger chunks. --- apps/angular/src/app/app.component.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/apps/angular/src/app/app.component.ts b/apps/angular/src/app/app.component.ts index e0a8b3a5..edd5723a 100644 --- a/apps/angular/src/app/app.component.ts +++ b/apps/angular/src/app/app.component.ts @@ -35,12 +35,10 @@ import { WeatherContentComponent } from './components/weather-content.component' [message]="$any(weatherState.weather.error())?.message" > - @defer (on immediate) { - @if (weatherState.weather.hasValue() && !weatherState.weather.isLoading() && !weatherState.weather.error()) { - - } + @if (weatherState.weather.hasValue() && !weatherState.weather.isLoading() && !weatherState.weather.error()) { + } From da341ee1129e4abd3648e3e38f0fee3d560b41b4 Mon Sep 17 00:00:00 2001 From: Nigro Simone Date: Mon, 3 Aug 2026 07:32:07 +0200 Subject: [PATCH 2/2] perf: add preconnect link for Cloudflare Insights Perhaps it would be right to add preconnects for all the frameworks. --- apps/angular/src/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/angular/src/index.html b/apps/angular/src/index.html index d81f3dbf..d91ff370 100644 --- a/apps/angular/src/index.html +++ b/apps/angular/src/index.html @@ -7,6 +7,7 @@ +