Skip to content

feat/implement PWA#220

Merged
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
abk-tech:devBranch
Apr 26, 2026
Merged

feat/implement PWA#220
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
abk-tech:devBranch

Conversation

@abk-tech
Copy link
Copy Markdown
Contributor

PR Title: Fix: Implement Core PWA Service Worker Lifecycle (#173)

Technical Changes

  1. Service Worker Registration
    Added a registration script in index.js / main.ts that triggers on the window.load event to ensure the initial page load performance is not compromised.

Implemented feature detection for navigator.serviceWorker to ensure graceful degradation in unsupported browsers.

  1. Install Event & Static Assets Caching
    Defined a STATIC_CACHE_NAME (versioned) to manage asset updates.

Implemented an install listener using event.waitUntil() to pre-cache essential UI shell assets (index.html, CSS, core JS, and branding icons). This ensures the "App Shell" loads instantly on subsequent visits.

closes: #173

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 26, 2026

@abk-tech Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER RUKAYAT-CODER merged commit 1739f55 into rinafcode:main Apr 26, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PWA - Missing Service Worker Features

2 participants