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

オープン
#993 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
54/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
html, web-dev

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

[!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.

主要言語
HTML
スター
42
フォーク
33
平均マージ
17時間 18分
マージ済み PR(30日)
111

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

forrtproject/forrtproject.github.io のほかの issue

forrtproject/forrtproject.github.io の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。