Tag

bundle size

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Jan 15, 2025 · Frontend Development

Tree Shaking in React.js: Principles, Best Practices and Applications

Tree shaking in React.js leverages ES6 static imports and named exports to eliminate dead code, reducing bundle size and improving load performance, while best practices such as modular design, avoiding side effects and dynamic imports ensure optimal dead‑code elimination across components and libraries.

Dead Code EliminationES6 ModulesReact.js
0 likes · 7 min read
Tree Shaking in React.js: Principles, Best Practices and Applications
Selected Java Interview Questions
Selected Java Interview Questions
Nov 26, 2024 · Frontend Development

Typical JavaScript Bundle Sizes of Popular Websites in 2024

A 2024 analysis by Nikita Prokopov of uncompressed JavaScript file sizes across a range of popular websites shows sizes varying from a tiny 0.1 MB for jQuery to over 12 MB for heavyweight platforms like YouTube and Booking.com, highlighting the diversity of front‑end payloads.

JavaScriptbundle sizefrontend
0 likes · 3 min read
Typical JavaScript Bundle Sizes of Popular Websites in 2024
Java Architect Essentials
Java Architect Essentials
Mar 9, 2024 · Frontend Development

Typical JavaScript Bundle Sizes of Popular Websites in 2024

In 2024, a survey of popular websites shows that uncompressed JavaScript bundle sizes vary widely—from as small as 0.2 MB for Wikipedia to over 12 MB for sites like YouTube and Booking.com—highlighting the importance of performance awareness in modern frontend development.

2024JavaScriptWeb Development
0 likes · 4 min read
Typical JavaScript Bundle Sizes of Popular Websites in 2024
Baidu App Technology
Baidu App Technology
Jul 25, 2023 · Mobile Development

HEIC Image and Unused Class Optimization in Baidu iOS App

The article details Baidu’s iOS bundle‑size reduction strategy by converting PNG/JPG assets to HEIC using macOS tools or ImageMagick, storing them in Asset Catalogs for iOS 10+ compatibility, handling alpha‑channel quirks, and employing combined static‑link‑map and runtime class‑initialization analysis to safely prune unused Objective‑C classes.

Asset CatalogDynamic AnalysisHEIC
0 likes · 27 min read
HEIC Image and Unused Class Optimization in Baidu iOS App
ByteDance Terminal Technology
ByteDance Terminal Technology
Oct 13, 2022 · Frontend Development

Optimizing the Size and Performance of a Frontend Monitoring SDK

This article explains how ByteDance's frontend monitoring SDK was systematically reduced in bundle size and runtime overhead through micro‑optimizations such as avoiding long class names, using functional patterns, minimizing polyfills, splitting files, leveraging Puppeteer‑based benchmarks, and applying requestIdleCallback scheduling to improve user experience on both web and mobile platforms.

OptimizationPuppeteerSDK
0 likes · 19 min read
Optimizing the Size and Performance of a Frontend Monitoring SDK
Ctrip Technology
Ctrip Technology
Jun 2, 2022 · Frontend Development

Technical Research and Project Implementation of Svelte in Front‑end Development

This article examines Svelte's key features—its compile‑time approach, lack of virtual DOM, and strong reactivity—compares its bundle size advantages over Vue and React, and details a real‑world mask‑machine H5 project that showcases setup, component structure, lifecycle, state management, routing, UI, testing, and performance optimizations.

ReactiveSvelteWeb Development
0 likes · 12 min read
Technical Research and Project Implementation of Svelte in Front‑end Development
Sohu Tech Products
Sohu Tech Products
Apr 1, 2020 · Frontend Development

Common Webpack Optimization Techniques for Reducing Build Time and Bundle Size

This article outlines practical webpack optimization methods—including bundle analysis, build‑time measurement, on‑demand loading, loader configuration, path resolution, source‑map handling, code compression, extracting common modules, CDN usage, and multi‑process builds—to improve page load speed, reduce bundle size, and enhance overall frontend performance.

Webpackbuild optimizationbundle size
0 likes · 16 min read
Common Webpack Optimization Techniques for Reducing Build Time and Bundle Size