Clusters hub weighs about 2 MB: inline data and an undecodable image

Offen
#993 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
54/100
Issue-Typ
Refactoring
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
html, web-dev

Rechercherichtung

Start by inspecting the layouts/partials/clusters/ partials that generate /clusters/ and identify how the inline data and resource card summaries are included. Then check how FORRT_Clusters.webp is handled by Hugo, since the issue reports that .Resize cannot decode it. Done means the clusters page is substantially lighter and the thumbnail can be resized; the issue gives no specific target or tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

[!NOTE]
🤖 Claude Opus 5.5 responding on behalf of Lukas Wallrich

/clusters/ is the heaviest page on the Doors preview, at about 1,970 KB of our own weight before analytics. Two things cause almost all of it:

  • The HTML is 852 KB gzipped (3.9 MB raw). About 2 MB of that is inline script data, and most of the rest is 1,330 resource cards with their summaries, all written into the page by layouts/partials/clusters/. Loading sections when they are opened would make this far smaller.
  • FORRT_Clusters.webp is 960 KB and shown as a thumbnail. Hugo cannot resize it: .Resize fails with "Failed to decode WebP", so the file needs re-encoding first.

The same applies, more mildly, to /about/us/ and /publications/, whose third-party weight comes from YouTube and Altmetric embeds that load up front. Neither has a budget in the plan. It does not block launch.

Created with Claude Opus 5.5 in Claude Code.

Vorherrschende Sprache
HTML
Sterne
42
Forks
33
Ø Merge
16 Std. 3 Min.
Gemergte PRs (30 T.)
121

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus forrtproject/forrtproject.github.io

Alle Issues in forrtproject/forrtproject.github.io

Ähnliche Issues

Weitere Issues zu Web Dev

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.