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

Đang mở
#993 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
54/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
html, web-dev
Lĩnh vực
frontend, performance

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
HTML
Star
42
Fork
33
Merge trung bình
17 giờ 18 phút
Pull request đã merge (30 ngày)
111

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của forrtproject/forrtproject.github.io

Tất cả issue của forrtproject/forrtproject.github.io

Issue tương tự

Thêm issue về Web Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.