Conversation
Contributor
|
@copilot 学習コンテンツのアップロードのsoft limitを突破しそうな原因を分析してください。そして改善案を検討してください。 |
Co-authored-by: mashharuki <44923695+mashharuki@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] 学習コンテンツのファイル容量の削減
Optimize learning content images: reduce file size by 119MB through format conversion and duplicate removal
Sep 13, 2025
Contributor
Author
学習コンテンツのsoft limit突破要因分析📊 現在の状況(最適化後)
🔍 Soft Limit突破の根本原因
🚀 追加改善提案短期対策(即実装可能)
中長期対策(アーキテクチャ改善)
📈 期待される効果
コミット |
neila
approved these changes
Sep 13, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR significantly reduces the file capacity of learning content images to address the approaching soft limit for content uploads. The optimization achieves a 30.9% reduction in image file sizes (119MB saved) while maintaining visual quality for all tutorial content.
Key Optimizations Implemented
1. Smart Image Format Conversion
NEAR-MulPay/section-0/0_2_1.png: 7MB → 592KB (91% reduction)NEAR-MulPay/section-2/2_2_6.png: 4.1MB → 340KB (91% reduction)NEAR-Hotel-Booking-dApp/section-4/4_7_1.png: 3.6MB → 500KB (86% reduction)2. Duplicate Image Consolidation
3. Infrastructure Improvements
@docusaurus/plugin-ideal-imagefor automatic future image optimization4. Comprehensive Reference Updates
docs/) and English (i18n/) directoriesResults Achieved
File Size Reductions:
Performance Impact:
Quality Assurance:
yarn buildcompletes without errors)The learning platform now loads much faster while maintaining the high-quality visual experience essential for effective Web3 education.
Fixes #522.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
esm.ubuntu.com/usr/lib/apt/methods/https(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.