Architecture

Progressive Web App & Offline Execution

Service worker caching strategies, web app manifest, offline shell, and multi-platform installation.

PWA Architecture Overview

PDFHub is engineered as a fully compliant Progressive Web App (PWA) under modern W3C specifications:

  • Dual Manifest: Both manifest.webmanifest and manifest.json are served with display: standalone, custom theme colors, and multi-resolution maskable app icons.
  • Service Worker: Implemented in sw.js utilizing an automated cache-first and stale-while-revalidate lifecycle.
  • Offline Shell: Dedicated offline.html fallback for network disconnection states.

Installation Across Platforms

Windows & macOS

Click the install icon in the Google Chrome or Microsoft Edge address bar, or select Settings > Install PDFHub to create a dedicated desktop window.

Android

When visiting PDFHub in Chrome on Android, tap the "Install App" banner or select Menu > Add to Home screen for a native launcher icon.

iOS & iPadOS

Open Safari, tap the Share button, and tap Add to Home Screen. PDFHub runs fullscreen without Safari browser navigation chrome.