From 9dc870a47c6eb2f09ad600655cea35cbdd50a8a3 Mon Sep 17 00:00:00 2001 From: Luis Alvergue Date: Tue, 21 Jan 2025 17:16:53 +0000 Subject: [PATCH 1/2] perf: warm up connection to Roboto web font by using preconnect. --- benefits/core/templates/core/base.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/benefits/core/templates/core/base.html b/benefits/core/templates/core/base.html index 5103c665f..1b6ac3689 100644 --- a/benefits/core/templates/core/base.html +++ b/benefits/core/templates/core/base.html @@ -18,6 +18,8 @@ {% block preload %} {% endblock preload %} + + {% include "core/includes/bootstrap-css.html" %} From fc6bc19363a93a16f9df50dd9e5706f1f3bb47a4 Mon Sep 17 00:00:00 2001 From: Luis Alvergue Date: Tue, 28 Jan 2025 15:59:48 +0000 Subject: [PATCH 2/2] perf: show the content immediately without waiting for the web font to download. --- benefits/core/templates/core/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benefits/core/templates/core/base.html b/benefits/core/templates/core/base.html index 1b6ac3689..fc3e16995 100644 --- a/benefits/core/templates/core/base.html +++ b/benefits/core/templates/core/base.html @@ -20,7 +20,7 @@ - + {% include "core/includes/bootstrap-css.html" %}