Tag

service-worker

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 15, 2025 · Frontend Development

Implementing Stale‑While‑Revalidate with Service Workers for Faster Page Loads

This article explains how to use Service Workers to apply a Stale‑While‑Revalidate caching strategy, detailing the three‑step process, essential APIs, code examples for intercepting and cloning responses, and a complete Express‑based demo to improve first‑visit page performance.

Stale-While-Revalidatecachingfrontend
0 likes · 12 min read
Implementing Stale‑While‑Revalidate with Service Workers for Faster Page Loads
ByteDance Web Infra
ByteDance Web Infra
Aug 20, 2024 · Frontend Development

Lessons Learned Switching to Rspack: Migration Experience, Configuration Tips, and Performance Results

The article shares a developer’s experience migrating two large Webpack projects to Rspack, covering why Rspack was chosen, detailed lessons on TypeScript handling, CSS extraction, service‑worker support, plugin compatibility, CLI differences, performance benchmarks, and future expectations for the Rust‑based bundler.

Build ToolsFrontend DevelopmentPerformance
0 likes · 15 min read
Lessons Learned Switching to Rspack: Migration Experience, Configuration Tips, and Performance Results
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 10, 2024 · Frontend Development

Using Workbox to Simplify Service Worker Development and Optimize Offline Caching

This article explains how to use Workbox to simplify Service Worker development, covering installation via CLI or CDN, core concepts like caching strategies, route matching, and custom handlers, and provides practical code examples to improve offline support and performance for web applications.

Workboxcachingfrontend
0 likes · 12 min read
Using Workbox to Simplify Service Worker Development and Optimize Offline Caching
HelloTech
HelloTech
Feb 28, 2024 · Frontend Development

Common Front-End Caching Techniques and Service Worker Guide

The article explains common front‑end caching methods—including HTTP headers, browser storage, and HTML5 manifests—then provides a comprehensive guide to Service Workers, covering their lifecycle, registration, typical install/activate/fetch handlers, cache‑update strategies, background sync, and integration with Taro via Workbox.

HTTP cacheWeb Developmentcaching
0 likes · 18 min read
Common Front-End Caching Techniques and Service Worker Guide
Bilibili Tech
Bilibili Tech
Feb 6, 2024 · Frontend Development

Advanced Interception Techniques in Front-End Development: API Overriding, Service Workers, and Sandbox Strategies

Advanced interception techniques—such as overriding browser APIs, using ServiceWorkers, employing MutationObservers, creating Proxy‑based sandboxes, and configuring server‑side gateways—provide a flexible middle layer for error reporting, request monitoring, micro‑frontend isolation, and remote debugging, while demanding careful adherence to security policies.

InterceptionJavaScriptSandbox
0 likes · 16 min read
Advanced Interception Techniques in Front-End Development: API Overriding, Service Workers, and Sandbox Strategies
HomeTech
HomeTech
May 24, 2023 · Frontend Development

Understanding AVIF Image Format: Benefits, Comparison, Conversion Tools, and Integration in Web Projects

This article explains the AVIF image format, its superior compression and quality compared to JPEG and WebP, provides a detailed comparison of image formats, offers conversion tools and command‑line examples, and shows how to integrate AVIF on the client, server, and via JavaScript polyfills for modern web development.

AVIFBrowser CompatibilityNode.js
0 likes · 13 min read
Understanding AVIF Image Format: Benefits, Comparison, Conversion Tools, and Integration in Web Projects
360 Tech Engineering
360 Tech Engineering
Apr 27, 2023 · Frontend Development

Guide to Developing Chrome Extensions with Manifest V3

This article explains the fundamentals of Chrome extension development using Manifest V3, covering concepts such as the manifest file, service workers, content scripts, UI pages, and provides step‑by‑step code examples to build a color‑extraction extension.

Chrome ExtensionContent ScriptJavaScript
0 likes · 14 min read
Guide to Developing Chrome Extensions with Manifest V3
ByteFE
ByteFE
Feb 1, 2023 · Frontend Development

What Is a Progressive Web App (PWA) – Features, Use Cases, and the Situation in China

This article explains what Progressive Web Apps (PWAs) are, outlines their key characteristics such as cross‑device adaptability, fast loading, offline capability, security and installability, and discusses real‑world examples, Chinese market challenges, and the potential of PWA games.

App ManifestFrontend DevelopmentPWA
0 likes · 13 min read
What Is a Progressive Web App (PWA) – Features, Use Cases, and the Situation in China
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 17, 2022 · Frontend Development

Understanding Online IDEs: Types, Advantages, and Core Implementation Principles

This article examines the landscape of browser‑based development environments, compares popular online IDEs such as CodeSandbox, StackBlitz, CodePen, and VueSFCREPL, outlines their architectural components, highlights their strengths and limitations, and provides concrete code examples of their underlying mechanisms.

CodeSandboxFrontend DevelopmentStackBlitz
0 likes · 19 min read
Understanding Online IDEs: Types, Advantages, and Core Implementation Principles
37 Interactive Technology Team
37 Interactive Technology Team
Sep 26, 2022 · Frontend Development

Web Push Notification Implementation with Firebase

This guide details how to implement web push notifications with Firebase, explaining the underlying push principles, step‑by‑step project setup—including service‑worker registration, token management, and message handling for both notification and data payloads—while also addressing common issues such as service‑worker updates, cross‑browser compatibility, and permission management.

Frontend DevelopmentNotification APIcloud messaging
0 likes · 12 min read
Web Push Notification Implementation with Firebase
IEG Growth Platform Technology Team
IEG Growth Platform Technology Team
Jul 5, 2022 · Frontend Development

Understanding HTTP Caching, Service Worker, Push and CDN Caching Strategies

This article explains the principles and practical configurations of HTTP forced and negotiated caching, Service Worker lifecycle and caching, HTTP/2 server push, and CDN caching, providing concrete header examples, code snippets, and recommendations for optimal front‑end performance.

HTTP CachingPush cachecdn
0 likes · 17 min read
Understanding HTTP Caching, Service Worker, Push and CDN Caching Strategies
ByteFE
ByteFE
Apr 29, 2022 · Frontend Development

Curated Technical Reading List: Web Performance, Node.js, HTTPS, Service Workers, and More

This curated list presents a selection of recent technical articles covering web performance optimization, a high‑performance Web graphics engine, new Node.js 18 features, HTTPS security fundamentals, Vue performance tips, Service Worker basics, React libraries, and creative CSS techniques.

CSSHTTPSfrontend
0 likes · 8 min read
Curated Technical Reading List: Web Performance, Node.js, HTTPS, Service Workers, and More
政采云技术
政采云技术
Apr 26, 2022 · Frontend Development

Understanding Web Workers, SharedWorker, and ServiceWorker in Frontend Development

This article explains the concepts, creation methods, communication APIs, debugging techniques, and typical use cases of ordinary Web Workers, SharedWorkers, and ServiceWorkers, illustrating how they enable multithreaded computation, cross‑tab data sharing, and offline caching to improve web performance and user experience.

JavaScriptPerformanceSharedWorker
0 likes · 13 min read
Understanding Web Workers, SharedWorker, and ServiceWorker in Frontend Development
IT Services Circle
IT Services Circle
Apr 23, 2022 · Frontend Development

Progressive Web Apps (PWA) Overview, Implementation, and JavaScript Workers

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
Progressive Web Apps (PWA) Overview, Implementation, and JavaScript Workers
Trip Tech Team
Trip Tech Team
Aug 19, 2021 · Frontend Development

How to Implement Offline Web Push Notifications in Chrome with Service Workers

This article examines how to implement offline Web Push notifications in Chrome using Service Workers, covering background, technical concepts such as BrowserId and the Notifications API, step-by-step code for permission handling, key generation, BrowserId retrieval, and server‑side message delivery.

BrowserIdChromeFrontend Development
0 likes · 16 min read
How to Implement Offline Web Push Notifications in Chrome with Service Workers
Beike Product & Technology
Beike Product & Technology
Apr 30, 2021 · Frontend Development

Progressive Web Apps (PWA): An Overview

Progressive Web Apps (PWA) are web applications that leverage Service Workers and modern web technologies to deliver native-like functionality, including offline capabilities, push notifications, and home screen installation, enhancing user experience across devices.

Frontend DevelopmentOffline ApplicationsPWA
0 likes · 9 min read
Progressive Web Apps (PWA): An Overview
ByteFE
ByteFE
Nov 19, 2020 · Frontend Development

Implementing a Progressive Web App (PWA) for Sharee Mobile: Features, Architecture, and Lessons Learned

This article explains the concept of Progressive Web Apps, compares them with native and traditional web apps, details the implementation of core PWA features such as App Manifest, Service Worker, caching strategies, push notifications, and Workbox best practices, and shares metrics, challenges, and solutions encountered during the Sharee mobile project.

JavaScriptPWAWeb App
0 likes · 28 min read
Implementing a Progressive Web App (PWA) for Sharee Mobile: Features, Architecture, and Lessons Learned
HomeTech
HomeTech
Jul 8, 2020 · Frontend Development

Understanding HTTP Caching and Service Workers for Frontend Performance Optimization

This article explains the fundamentals of HTTP caching, the role of Service Workers, various cache layers (memory, disk, push), cache-control directives, and provides practical code examples to help front‑end developers improve page load speed and reduce server load.

HTTPcachingfrontend performance
0 likes · 15 min read
Understanding HTTP Caching and Service Workers for Frontend Performance Optimization
360 Tech Engineering
360 Tech Engineering
Mar 25, 2020 · Frontend Development

Service Worker Overview: Concepts, Caching Strategies, Lifecycle, and Practical Implementation

This article introduces Service Workers as the core technology of progressive web apps, explains their advantages, security constraints, lifecycle events, CacheStorage API usage, various caching strategies, version‑controlled caching with webpack, background synchronization, and demonstrates how to pass data using IndexedDB, all illustrated with complete code examples.

Background SyncCacheStorageIndexedDB
0 likes · 21 min read
Service Worker Overview: Concepts, Caching Strategies, Lifecycle, and Practical Implementation
iQIYI Technical Product Team
iQIYI Technical Product Team
Dec 13, 2019 · Frontend Development

Progressive Web Apps (PWA) Overview, Service Worker Fundamentals, and iQiyi PC Implementation

The article explains Progressive Web Apps—offline‑capable, installable web apps built with Service Workers and a manifest.json—detailing their core qualities, installation requirements, and lifecycle, and showcases iQiyi’s PC PWA implementation that caches assets to speed loading, boosts user retention by 9%, and outlines future enhancements such as offline support and push notifications.

PWAWeb Developmentfrontend
0 likes · 12 min read
Progressive Web Apps (PWA) Overview, Service Worker Fundamentals, and iQiyi PC Implementation