// Bank PWA Service Worker
const CACHE_NAME = 'crest-bank-pwa-v1';

self.addEventListener('install', (event) => {
    console.log('✅ Service Worker Installed');
    // You can cache important files here later
});

self.addEventListener('activate', (event) => {
    console.log('✅ Service Worker Activated');
});

self.addEventListener('fetch', (event) => {
    event.respondWith(
        caches.match(event.request)
            .then(response => response || fetch(event.request))
    );
});