Tagged articles
package optimization
10 articles · Page 1 of 1
smart-mqtt v1.5.0 reduces the enterprise package from 29.3 MB to 12.6 MB (57 % smaller) by replacing the Redisson‑based Redis bridge with the lightweight Redisun client, adds stability fixes, updates pricing, and provides detailed upgrade and deployment instructions.
BackendJavaMQTT
0 likes · 8 min read

smart-mqtt v1.4.0 reduces its distribution size by 73% to under 800 KB, replaces YAML with environment‑variable configuration, achieves up to 1 M msg/s QoS0 throughput in a Podman test environment, and adds extensive memory, plugin, and cloud‑native improvements for faster deployment and higher stability.
BackendMQTTcloud-native
0 likes · 7 min read

To overcome the 2 MB main‑package limit of WeChat mini‑programs, this guide details a step‑by‑step solution that uses @galacean/effects for stunning homepage animations, applies page and module splitting, Babel and webpack plugins, and Taro configuration to move large code into asynchronous sub‑packages.
BabelReactTaRO
0 likes · 17 min read

The guide explains how to build WeChat Mini Programs using a hybrid WebView‑JavaScript sandbox architecture, stay within 20 MB (2 MB per package) limits, organize code with main and sub‑packages, choose uni‑app or Taro, optimize assets, configure app.json, employ dev tools, automate builds and uploads with miniprogram‑ci, and monitor performance via WeAnalysis.
CI/CDFrontend DevelopmentWeChat Mini-Program
0 likes · 16 min read

The article explains how Baidu App reduces its iOS package size by analyzing Link Map files and applying six code‑optimization techniques—unused class and module slimming, unused method pruning with LLVM, duplicate‑code detection, utility‑method consolidation, and A/B‑test hardening—yielding up to 8 MB of savings.
AB TestingLink MapMach-O
0 likes · 15 min read

This article explains how Baidu's iOS app analyzes Mach‑O binaries and applies systematic resource‑optimization techniques—including big‑resource detection, unused config removal, and duplicate asset elimination—to shrink package size by over a dozen megabytes.
Mach-OResource OptimizationiOS
0 likes · 20 min read

This article reviews Youku's five‑year journey of Android APK size reduction, detailing the shift from special‑project squeezes to sustainable normal governance, the technical measures and analysis tools like Franky, and practical slimming techniques that can help any mobile team manage package size efficiently.
APK sizeAndroidpackage optimization
0 likes · 43 min read

This article details Ctrip's comprehensive mini‑program size governance framework, covering size allocation, detection, application approval, reminders, statistics, and main‑package file management to ensure packages stay within WeChat's limits and improve launch performance.
CtripWeChatfrontend
0 likes · 9 min read

After moving its WeChat/Alipay entry to a Didi Ride‑Hailing mini‑program, the team kept the main bundle under the 2 MB limit by applying MPX‑based webpack tree‑shaking, minification, CDN‑compressed assets, aggressive sub‑package splitting and a lightweight cover page, reducing the core to about 1.1 MB while shifting most business logic into 800 KB–1.2 MB sub‑packages.
Didi Ride-HailingMPX FrameworkSplit Packages
0 likes · 14 min read

WeCOS is a command‑line tool that uploads a Mini Program’s local image assets to Tencent Cloud Object Storage, replaces the code’s image paths with COS URLs, removes the original files, and thus shrinks the package below the 1 MB upload limit, simplifying the otherwise manual process.
Node.jsTencent Cloud COSWeCOS
0 likes · 7 min read
