Tagged articles
Web Worker
21 articles · Page 1 of 1
The article details debugging a Baidu Map GL white screen caused by CSP blocking worker fetch of data: URIs for image atlases and eval usage in SDK scripts; fixing required adding data: to connect-src and unsafe-eval to script-src in the nginx CSP header.
Baidu Map GLCSPContent Security Policy
0 likes · 16 min read

The article tests Firefox's Local Mode feature that maps local folders to HTTPS origins without a server, enabling fetch and Web Workers for static files, but finds Service Worker registration fails and requires DevTools to stay open, making it useful for simple static projects but not a full localhost replacement.
DevToolsFirefoxLocal Mode
0 likes · 14 min read

This article details the challenges of video corruption detection on a creator platform, analyzes existing server‑side and client‑side approaches, and presents a WebAssembly‑based solution using ffmpeg, WorkerFS, and memory‑growth tuning that reduces memory consumption by up to 78% while speeding up large‑file processing.
FFmpegWeb WorkerWebAssembly
0 likes · 13 min read


JD TechMar 13, 2024 · Frontend Development
This article explains how to efficiently upload large files (e.g., 1.5 GB) from the browser by calculating a file hash with spark‑md5, checking server status for instant or resumable uploads, slicing the file into chunks, uploading them concurrently, and finally merging the chunks, while also offering optimization tips such as using Web Workers and adjusting chunk size.
Web Workerchunked uploadhashing
0 likes · 10 min read

This article details a comprehensive approach to improving the performance and user experience of complex H5 game-like applications by using offline package splitting, native splash screens, global state management with zustand, data prefetching, image loading optimizations, transition animations, and ranking list enhancements.
H5ReactWeb Worker
0 likes · 18 min read

This article examines front‑end performance issues such as page freeze caused by heavy JavaScript computation, explains browser rendering threads, processes, and key Web Vitals (LCP, FID, CLS), and provides practical optimization techniques including code splitting, Web Workers, CDN usage, and build‑time configurations.
Web Workeroptimizationweb-vitals
0 likes · 26 min read

This article explains how to off‑load SCSS‑to‑CSS compilation to a Web Worker in a React‑based frontend, providing code examples for the worker script, the main thread integration, and demonstrating the performance benefits of keeping the UI responsive during heavy processing.
Code CompilationJavaScriptWeb Worker
0 likes · 7 min read

JavaScript’s single‑threaded model can freeze the UI during heavy calculations, but Web Workers—dedicated or shared—run code in independent threads, communicate via postMessage, offer configurable options, follow a clear initialization‑active‑termination lifecycle, and can be debugged through Chrome’s inspection tools, enabling responsive, asynchronous processing.
JavaScriptShared WorkerWeb Worker
0 likes · 17 min read

This article presents a plug‑in‑based, WebWorker‑enabled resource manager for web games and live‑stream activities, detailing its background, research of existing solutions, overall design, core modules, external APIs, and practical usage examples such as preloading, modular bundles, and image conversion.
Plugin ArchitectureWeb Workerfrontend
0 likes · 12 min read

This article explains a WebAssembly‑based video frame extraction technique that replaces the traditional canvas approach by compiling FFmpeg to Wasm, running it in a Web Worker, and using a key‑frame‑first strategy to deliver high‑quality cover images with lower latency and a dramatically smaller bundle size.
Custom CompilationFFmpegFrontend Development
0 likes · 20 min read

By replacing memory‑heavy base64 data URLs with temporary object URLs and moving intensive file‑reading tasks into a Web Worker, the customer‑service instant‑messaging platform can instantly preview rich media, avoid UI blockage, cut upload latency, and dramatically improve agent efficiency and user experience.
File UploadRich MediaWeb Worker
0 likes · 12 min read

This article provides a comprehensive overview of Progressive Web Apps (PWA), covering their concepts, benefits, real-world case studies, implementation steps with Service Workers, App Shell, manifest files, and related JavaScript workers such as Web Workers, Service Workers, and Worklets, while also discussing their development challenges and future prospects.
JavaScriptPWAProgressive Web App
0 likes · 22 min read

This article explains how to use Web Workers to offload heavy IndexedDB log processing, compares copy versus transferable data transfer, demonstrates a Promise‑based Worker wrapper, and outlines the limitations and best practices for improving front‑end performance.
JavaScriptPromiseTransferable
0 likes · 14 min read

This article walks through Vite's five static asset handling strategies—including public directory paths, import queries like ?url, ?raw, and ?worker—showing code examples, middleware behavior, and build‑time transformations so developers can quickly understand and apply each method.
ViteWeb Workerasset handling
0 likes · 10 min read

This article examines how VS Code extensions, traditionally run in Node.js processes, can be adapted to run in browser Web Workers, discusses related experiments in GitHub Codespaces and TypeScript, and explains which types of extensions are suitable for this approach.
BrowserFSGitHub CodespacesIDE
0 likes · 6 min read


ByteFEFeb 1, 2021 · Frontend Development
This article details the motivations behind Webpack 5, outlines a step‑by‑step migration workflow—including preparation, dependency upgrades, common pitfalls, and new build‑time and runtime capabilities such as Asset Modules, filesystem caching, WebAssembly, Web Workers, improved long‑term caching and top‑level await—while providing performance comparisons and practical code snippets.
Frontend BuildWeb WorkerWebAssembly
0 likes · 22 min read

This article explains how to split large files into chunks, control concurrent uploads with a Proxy‑based queue, and offload the upload process to a Web Worker to improve reliability and keep the main thread responsive, including practical code examples and bundling tips.
File UploadProxyWeb Worker
0 likes · 12 min read


WecTeamApr 27, 2020 · Frontend Development
This article presents a comprehensive front‑end performance checklist covering resource inventory, priority grouping, native JavaScript modules, tree‑shaking, code‑splitting, Web Workers, WebAssembly, pre‑compilation, differential serving, unused code removal, bundle trimming and predictive loading techniques, with practical tool recommendations.
Build OptimizationWeb WorkerWebAssembly
0 likes · 30 min read

This article explains how to replace JSZip with a C‑based WebAssembly unzip module using Emscripten, integrate it via a Web Worker, and achieve faster decompression for Three.js 3D assets, complete with performance test results and detailed code examples.
EmscriptenJSZipThree.js
0 likes · 11 min read

This article explains how to make web pages feel smooth by defining user‑perceived fluidity, discussing passive and active interactions, FPS targets, the RAIL model, pixel pipeline optimization, avoiding long tasks with Web Workers and time‑slicing, selector efficiency, layout thrashing, layer management, and using requestAnimationFrame.
RAIL modelWeb PerformanceWeb Worker
0 likes · 21 min read

This article explains how Web Workers can off‑load heavy data processing in WebGL‑based map engines, covering worker creation, data serialization, transferable objects, optimal worker count, and real‑world performance gains, all illustrated with code snippets and diagrams.
JavaScriptParallel ProcessingWeb Worker
0 likes · 9 min read
