From 687fd585a3744a3a1a238b792a3ffeb77c7c0cff Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 14:03:22 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20Bolt:=20optimize=20resource=20loadi?= =?UTF-8?q?ng=20with=20preconnect=20hints=20and=20variable=20fonts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change improves performance by: 1. Adding `preconnect` hints for `fonts.googleapis.com`, `fonts.gstatic.com`, and `cdn.tailwindcss.com` to reduce connection latency for critical assets. 2. Updating the JetBrains Mono Google Fonts request to use a variable font weight range (100..800), ensuring all used weights are correctly rendered with a single optimized fetch. 3. Cleaning up malformed text in `index.html` to ensure a valid and slightly smaller HTML document. Verified via Playwright and visual inspection. Co-authored-by: rtech-technologies <254326487+rtech-technologies@users.noreply.github.com> --- .jules/bolt.md | 8 ++++++++ index.html | 11 ++++------- os2.html | 5 ++++- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.jules/bolt.md b/.jules/bolt.md index a33c7ef..655ba90 100644 --- a/.jules/bolt.md +++ b/.jules/bolt.md @@ -1,3 +1,11 @@ ## 2026-04-17 - Resource Hints and Variable Fonts **Learning:** For static sites using third-party CDNs (Google Fonts, Tailwind), `preconnect` hints can shave off significant connection setup time (~20-50ms depending on network). Additionally, using variable font ranges (e.g., `300..900`) instead of discrete weights ensures all used weights are covered (fixing missing `font-black` 900 weight) and allows the browser to optimize font fetching more effectively. **Action:** Always check for used font weights that might be missing from the CSS request and add `preconnect` for all critical external assets. + +## 2026-04-18 - Clean Builds and Resource Hints +**Learning:** External assets (Fonts, CDNs) can be a significant bottleneck on mobile or high-latency connections. for both `fonts.googleapis.com` and `fonts.gstatic.com` (with `crossorigin`) is essential for minimizing font-load delay. Also, ensure no metadata or artifacts from development (like `server.log`) are committed, as they clutter the repo and can expose environment details. +**Action:** Include `preconnect` for all critical 3rd-party origins and use a strict `.gitignore` or manual check to exclude local logs. + +## 2026-04-18 - Clean Builds and Resource Hints +**Learning:** External assets (Fonts, CDNs) can be a significant bottleneck on mobile or high-latency connections. `preconnect` for both `fonts.googleapis.com` and `fonts.gstatic.com` (with `crossorigin`) is essential for minimizing font-load delay. Also, ensure no metadata or artifacts from development (like `server.log`) are committed, as they clutter the repo and can expose environment details. +**Action:** Include `preconnect` for all critical 3rd-party origins and use a strict `.gitignore` or manual check to exclude local logs. diff --git a/index.html b/index.html index b5e5f73..9d89d8e 100644 --- a/index.html +++ b/index.html @@ -1,16 +1,14 @@ -Understood. We're keeping the focus purely on the **RTECH** mission: hardware sovereignty, the right to mod, and the 2026 roadmap. I have removed the anti-corporate rhetoric to focus on the positive "Sovereign Industrial" identity and added the official contact point. - -### RTECH | Sovereign Industrial Root (`index.html`) - -```html RTECH | Sovereign Industrial 2026 + + + - +