awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
GoogleChromeLabs avatar

GoogleChromeLabs/sw-precacheArchived

0
View on GitHub↗
5,190 نجوم·381 تفرعات·JavaScript·Apache-2.0·6 مشاهداتdevelopers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw↗

Sw Precache

sw-precache هي أداة بناء لعامل الخدمة (service worker) ومولد تخزين مؤقت مسبق ينتج كود JavaScript لإصدار وتخزين الأصول الثابتة. تعمل كواجهة سطر أوامر ووحدة node مصممة لتمكين الوظائف دون اتصال وتحسين أوقات التحميل لتطبيقات الويب.

يتميز المشروع من خلال الجمع بين اكتشاف الأصول في وقت البناء ومنسق التخزين المؤقت في وقت التشغيل. يستخدم الإصدار القائم على تجزئة المحتوى لتشغيل التحديثات فقط عند تغير محتويات الملف ويستخدم توليد الكود القائم على القوالب لحقن قواعد التوجيه المخصصة ومكتبات المعالجة في عامل الخدمة الناتج.

تغطي الأداة مجموعة واسعة من إمكانيات التخزين المؤقت وإدارة حركة المرور، بما في ذلك تعريف استراتيجيات الاسترداد التي تعتمد على الشبكة أولاً أو التخزين المؤقت أولاً. تدير توجيه طلبات الشبكة عن طريق تعيين أنماط URL وطرق HTTP لمعالجات محددة لحل حركة المرور.

Features

  • Service Worker Generators - Provides a command-line interface for generating service worker files and injecting precache manifests.
  • Service Worker Precaching - Provides a build tool that generates service worker code to version and precache static assets for offline access.
  • Caching Strategies - Implements logic for selecting between network-first or cache-first strategies to optimize data retrieval and load speeds.
  • Service Worker Manifests - Generates build-time lists of assets to automate downloading and storing resources during the service worker installation phase.
  • Progressive Web Apps - Improves PWA performance by caching network requests and serving assets from local storage.
  • HTTP Request Routing - Implements a routing system that maps URL patterns and HTTP methods to specific handlers within the service worker.
  • Build Artifact Content Hashes - Uses content-hash-based versioning to assign unique keys to assets, triggering updates only when file contents change.
  • Caching Orchestrators - Provides a configuration layer for defining network request routing rules and storage strategies within a service worker.
  • Offline Web Applications - Enables web applications to remain functional without an internet connection by storing essential files locally.
  • Request Routing - Matches network requests against URL patterns to determine the appropriate caching strategy or handler.
  • Web Asset Caches - Defines lists of specific files and URLs to be cached and updated via content hashing for web resources.
  • Build-Time Asset Processing - Scans the local file system to identify static assets required for the precache manifest during the build phase.
  • Template-Based Code Generators - Produces functional service worker files by injecting configuration values into a predefined JavaScript boilerplate template.
  • Configuration-Driven Logic - Injects custom runtime caching rules and handler libraries into the generated service worker based on configuration settings.
  • Installation Precaching - Downloads and stores a predefined list of essential files during the service worker installation phase.
  • Static Resource Cache Managers - Manages local storage by adding specific URLs to the cache or removing existing entries for static web resources.

سجل النجوم

مخطط تاريخ النجوم لـ googlechromelabs/sw-precacheمخطط تاريخ النجوم لـ googlechromelabs/sw-precache

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Sw Precache

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Sw Precache.
  • googlechrome/sw-precacheالصورة الرمزية لـ GoogleChrome

    GoogleChrome/sw-precache

    5,189عرض على GitHub↗

    sw-precache is a service worker precache generator used to create scripts that enable offline functionality for web applications. It acts as a build-time asset cache manager that hashes static files and manages their versioning within a service worker cache. The project provides a runtime cache configurator to define caching strategies and request handlers for dynamic content based on URL patterns. It also includes an offline fallback handler to intercept network failures and serve cached fallback pages. The toolset covers the generation of service worker code and manifests, content-hash bas

    JavaScript
    عرض على GitHub↗5,189
  • googlechrome/workboxالصورة الرمزية لـ GoogleChrome

    GoogleChrome/workbox

    12,895عرض على GitHub↗

    Workbox is a modular library and toolkit designed for managing service workers in progressive web applications. It provides a comprehensive framework for handling asset caching, request routing, and background script lifecycle management, enabling developers to build web applications that function reliably offline and load efficiently. The project distinguishes itself through a declarative routing engine and a plugin-based architecture that allows for the injection of custom logic into the request and response processing pipeline. It supports advanced caching patterns, such as cache-first or

    JavaScriptoffline-firstprogressive-web-appservice-worker
    عرض على GitHub↗12,895
  • vite-pwa/vite-plugin-pwaالصورة الرمزية لـ vite-pwa

    vite-pwa/vite-plugin-pwa

    4,185عرض على GitHub↗

    This is a build tool for adding progressive web app capabilities to Vite projects. It automates the generation of web app manifests and service workers, enabling websites to become installable on mobile and desktop devices. The project provides a specialized asset pipeline that generates a complete set of required application icons and theme colors from a single source image. It also manages the service worker lifecycle, offering both automatic generation and the ability to compile custom service worker files with an integrated precache manifest. The plugin covers broad capability areas incl

    TypeScriptpreactpwareact
    عرض على GitHub↗4,185
  • vendurehq/vendureالصورة الرمزية لـ vendurehq

    vendurehq/vendure

    7,924عرض على GitHub↗

    Vendure is a Node.js e-commerce engine and headless commerce framework built with NestJS and TypeScript. It serves as a multi-channel commerce platform that manages product catalogs, orders, and customers via a strongly typed GraphQL API. The platform is distinguished by its highly extensible architecture, featuring a customizable administrative dashboard where developers can inject custom React components and entity views. It supports multi-channel commerce, allowing the isolation of products, currencies, and regional catalogs from a single unified backend. The engine covers a broad range o

    TypeScriptecommerceecommerce-apiecommerce-framework
    عرض على GitHub↗7,924
عرض جميع البدائل الـ 30 لـ Sw Precache→

الأسئلة الشائعة

ما هي وظيفة googlechromelabs/sw-precache؟

sw-precache هي أداة بناء لعامل الخدمة (service worker) ومولد تخزين مؤقت مسبق ينتج كود JavaScript لإصدار وتخزين الأصول الثابتة. تعمل كواجهة سطر أوامر ووحدة node مصممة لتمكين الوظائف دون اتصال وتحسين أوقات التحميل لتطبيقات الويب.

ما هي الميزات الرئيسية لـ googlechromelabs/sw-precache؟

الميزات الرئيسية لـ googlechromelabs/sw-precache هي: Service Worker Generators, Service Worker Precaching, Caching Strategies, Service Worker Manifests, Progressive Web Apps, HTTP Request Routing, Build Artifact Content Hashes, Caching Orchestrators.

ما هي البدائل مفتوحة المصدر لـ googlechromelabs/sw-precache؟

تشمل البدائل مفتوحة المصدر لـ googlechromelabs/sw-precache: googlechrome/sw-precache — sw-precache is a service worker precache generator used to create scripts that enable offline functionality for web… googlechrome/workbox — Workbox is a modular library and toolkit designed for managing service workers in progressive web applications. It… vite-pwa/vite-plugin-pwa — This is a build tool for adding progressive web app capabilities to Vite projects. It automates the generation of web… vendurehq/vendure — Vendure is a Node.js e-commerce engine and headless commerce framework built with NestJS and TypeScript. It serves as… shadowwalker/next-pwa — next-pwa is a plugin for adding progressive web app capabilities and offline support to Next.js applications. It… chenshenhai/koa2-note — koa2-note is a project focused on Koa2 web server development and Node.js asynchronous programming. It provides a…