Tagged articles
4 articles
Page 1 of 1
ByteFE
ByteFE
Dec 6, 2021 · Frontend Development

Compressing i18n Keys to Reduce Bundle Size and Speed Up Frontend Builds

This article describes a method for shortening i18n keys in Feishu's frontend architecture by encoding them into compact strings, integrating the process into Babel and webpack pipelines, and demonstrates a 7.2 MB reduction in total page code size for over 11,000 keys.

Frontend Optimizationcode compressioni18n
0 likes · 9 min read
Compressing i18n Keys to Reduce Bundle Size and Speed Up Frontend Builds
WeChatFE
WeChatFE
Apr 25, 2016 · Frontend Development

Mastering UglifyJS: Advanced While, Conditional, Block, and IF Optimizations

This article continues the deep dive into UglifyJS compression, presenting advanced techniques for optimizing while loops, ternary conditional expressions, statement blocks, and IF branches, including rules for removing dead code, merging statements, and transforming structures to achieve maximal size reduction in JavaScript output.

JavaScriptUglifyJScode compression
0 likes · 7 min read
Mastering UglifyJS: Advanced While, Conditional, Block, and IF Optimizations
WeChatFE
WeChatFE
Apr 14, 2016 · Frontend Development

Master UglifyJS: Proven Techniques to Shrink JavaScript Size

This article explains how UglifyJS can dramatically reduce JavaScript file size by applying expression pre‑computation, operator shortening, dead code removal, and other advanced compression rules, illustrated with clear before‑and‑after code examples for each optimization.

JavaScript minificationUglifyJScode compression
0 likes · 10 min read
Master UglifyJS: Proven Techniques to Shrink JavaScript Size