awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
GoogleChrome avatar

GoogleChrome/sw-precacheArchived

0
View on GitHub↗
5,189 Stars·381 Forks·JavaScript·Apache-2.0·4 Aufrufedevelopers.google.com/web/tools/workbox/guides/migrations/migrate-from-sw↗

Sw Precache

sw-precache ist ein Service-Worker-Precache-Generator, der verwendet wird, um Skripte zu erstellen, die Offline-Funktionalität für Webanwendungen ermöglichen. Er fungiert als Asset-Cache-Manager zur Build-Zeit, der statische Dateien hasht und deren Versionierung innerhalb eines Service-Worker-Caches verwaltet.

Das Projekt bietet einen Runtime-Cache-Konfigurator zur Definition von Caching-Strategien und Request-Handlern für dynamische Inhalte basierend auf URL-Mustern. Es enthält zudem einen Offline-Fallback-Handler, um Netzwerkfehler abzufangen und zwischengespeicherte Fallback-Seiten bereitzustellen.

Das Toolset deckt die Generierung von Service-Worker-Code und Manifesten, Content-Hash-basierte Versionierung sowie das Abfangen von Fetch-Ereignissen ab. Es bietet eine Kommandozeilenschnittstelle zur Generierung von Service-Worker-Dateien unter Verwendung von Konfigurationsdateien und benutzerdefinierten Flags.

Features

  • Offline Web Applications - Enables web applications to function without an internet connection through static asset precaching and fallback pages.
  • Web Asset Caches - Manages a build-time cache of static web assets using content hashes for efficient versioning in service workers.
  • Service Worker Manifests - Generates the static asset lists and version manifests required for service worker precaching during the build process.
  • Progressive Web Apps - Implements core PWA capabilities by caching essential files during the build process for improved reliability and load times.
  • Build Artifact Content Hashes - Uses content hashing of static assets to generate deterministic cache keys for versioning and updates.
  • Fetch Event Interceptors - Intercepts browser fetch events to implement custom caching and routing logic for network requests.
  • Service Worker Script Generators - Transforms JavaScript or JSON configuration into a functional service worker script via a build-step module.
  • Service Worker Generators - Provides a command line interface to automate the generation of service worker files and manifests.
  • Service Worker Precaching - Generates service worker scripts that automatically download and version static assets for offline use.
  • Route Pattern Matching - Matches request URLs against regular expressions to apply specific caching strategies for dynamic content.
  • Offline Fallback Content - Intercepts failed network requests for HTML pages and returns cached fallback content to maintain availability.
  • Offline Fallback Pages - Intercepts network failures to serve cached fallback pages, ensuring application availability without connectivity.
  • Caching Strategy Handlers - Defines reusable caching strategies that determine how to resolve dynamic requests between the cache and the network.
  • Fallback Response Handlers - Serves custom fallback responses and pages when requested resources are missing or unavailable offline.
  • Offline Web Caching - Provides strategies for caching dynamic network requests based on URL patterns to reduce server load.
  • Development Libraries - Automates the generation of service workers for static asset caching.
  • Service Worker Libraries - Generates service worker code for precaching static assets.

Star-Verlauf

Star-Verlauf für googlechrome/sw-precacheStar-Verlauf für googlechrome/sw-precache

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Sw Precache

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Sw Precache.
  • googlechromelabs/sw-precacheAvatar von GoogleChromeLabs

    GoogleChromeLabs/sw-precache

    5,190Auf GitHub ansehen↗

    sw-precache is a service worker build tool and precaching generator that produces JavaScript code to version and store static assets. It functions as a command-line interface and node module designed to enable offline functionality and improve load times for web applications. The project distinguishes itself by combining build-time asset discovery with a runtime caching orchestrator. It uses content-hash-based versioning to trigger updates only when file contents change and employs template-based code generation to inject custom routing rules and handler libraries into the resulting service w

    JavaScriptjavascriptofflineoffline-first
    Auf GitHub ansehen↗5,190
  • googlechrome/workboxAvatar von GoogleChrome

    GoogleChrome/workbox

    12,895Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗12,895
  • talater/upupAvatar von TalAter

    TalAter/UpUp

    4,920Auf GitHub ansehen↗

    UpUp is a service worker framework and progressive web app tool designed to provide websites with offline capabilities. It functions as a browser cache manager that enables offline website availability by utilizing service workers and the cache API. The project manages the offline workflow through static asset pre-caching and version-based cache busting to ensure stored resources remain current. It also includes offline fallback management to define specific pages or content that display to users when a network connection is unavailable and the requested resource is not cached. Additional ca

    JavaScripthacktoberfestofflineoffline-first
    Auf GitHub ansehen↗4,920
  • vite-pwa/vite-plugin-pwaAvatar von vite-pwa

    vite-pwa/vite-plugin-pwa

    4,185Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗4,185
Alle 30 Alternativen zu Sw Precache anzeigen→

Häufig gestellte Fragen

Was macht googlechrome/sw-precache?

sw-precache ist ein Service-Worker-Precache-Generator, der verwendet wird, um Skripte zu erstellen, die Offline-Funktionalität für Webanwendungen ermöglichen. Er fungiert als Asset-Cache-Manager zur Build-Zeit, der statische Dateien hasht und deren Versionierung innerhalb eines Service-Worker-Caches verwaltet.

Was sind die Hauptfunktionen von googlechrome/sw-precache?

Die Hauptfunktionen von googlechrome/sw-precache sind: Offline Web Applications, Web Asset Caches, Service Worker Manifests, Progressive Web Apps, Build Artifact Content Hashes, Fetch Event Interceptors, Service Worker Script Generators, Service Worker Generators.

Welche Open-Source-Alternativen gibt es zu googlechrome/sw-precache?

Open-Source-Alternativen zu googlechrome/sw-precache sind unter anderem: googlechromelabs/sw-precache — sw-precache is a service worker build tool and precaching generator that produces JavaScript code to version and store… googlechrome/workbox — Workbox is a modular library and toolkit designed for managing service workers in progressive web applications. It… talater/upup — UpUp is a service worker framework and progressive web app tool designed to provide websites with offline… 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… shadowwalker/next-pwa — next-pwa is a plugin for adding progressive web app capabilities and offline support to Next.js applications. It… nekr/offline-plugin — This project is a webpack plugin that implements a service worker to manage web assets for offline access. It serves…