this.addEventListener("install", function (event) {
    event.waitUntil(
        caches.open('v9').then(function (cache) {
         return cache.addAll(['/html/', 
          '/html/index.html',
          '/html/manifest.json',
          '/html/emergency.html',
          '/html/js/911.js', 
          '/html/js/all_scr.js',
          '/html/js/app.js',
          '/html/js/bootstrap.min.js',
          '/html/js/emergency.js',
          '/html/js/wow.min.js',
          '/html/rs-plugin/js/jquery.themepunch.tools.min.js',
          '/html/rs-plugin/js/jquery.themepunch.revolution.min.js',
          '/html/rs-plugin/assets/timer.png',
          '/html/js/jquery.min.js',
          '/html/js/jquery.parallax-0.2-min.js',
          '/html/css/adaptive.css',
          '/html/css/animate.css',
          '/html/css/bootstrap.css',
          '/html/css/main.css',
          '/html/css/pushy.css',
          '/html/css/font-awesome.css',
          '/html/rs-plugin/css/settings.css',
          '/html/img/trapped_lady.jpg', 
          '/html/img/screaming.jpg', 
          '/html/img/location4.jpg', 
          '/html/img/embrace3.jpg',
          '/html/img/start/bg.jpg',
          '/html/font/fontawesome-webfont.woff?v=4.3.0',
          '/html/font/fontawesome-webfont.woff2?v=4.3.0',
          '/html/rs-plugin/font/revicons.woff?5510888',
          '/html/rs-plugin/font/revicons.ttf?5510888',
          '/html/font/fontawesome-webfont.ttf?v=4.3.0',
          '/html/img/wmb_128x128.png',
          '/html/img/wmb_144x144.png',
          '/html/img/wmb_152x152.png',
          '/html/img/wmb_192x192.png',
          '/html/img/wmb_256x256.png'
          ]);
        })
        );
    });

this.addEventListener('activate', function(event) {
  var cacheWhitelist = ['v9'];

  event.waitUntil(
    caches.keys().then(function(keyList) {
      return Promise.all(keyList.map(function(key) {
        if (cacheWhitelist.indexOf(key) === -1) {
          return caches.delete(key);
        }
      }));
    })
  );
});


this.addEventListener('fetch', function (event) {
	event.respondWith(
    caches.match(event.request)
    );
});
@@ -88,17 +88,18 @@
 .open('v
-9
+10
 ').then(
@@ -1763,17 +1763,18 @@
 st = %5B'v
-9
+10
 '%5D;%0A%0A  e
@@ -2113,16 +2113,16 @@
 equest)%0A
-
     );%0A%7D
@@ -2115,16 +2115,693 @@
 uest)%0A    );%0A%7D);
+%0A%0Athis.addEventListener('push', event =%3E %7B%0A   event.waitUntil(() =%3E %7B%0A     if (event.data) %7B%0A      return Promise.resolve(event.data);%0A     %7D %0A     return fetch(%22demo_sse.php%22).then(response =%3E response.json());%0A%7D).then(data =%3E %7B%0A return this.registration.showNotification(title, %7B%0A    body : 'help me',%0A    icon : 'screaming.jpg',%0A    vibrate: %5B200, 100, 200, 100, 400%5D,%0A    tag : 'request',%0A    actions : %5B%0A    %7B action : 'track', title : %22wacth%22, icon : %22fa fa-thumb-up%22%7D, %0A    %7B action : %22Ignore%22, title : %22Ignore%22, icon : %22fa fa-thumb-down%22%7D %5D%0A  %7D)%0A%7D);  %0A%0Athis.addEventListener('notificationclick', event =%3E %7B%0Aevent.waitUntil(() =%3E %0A   event.notification.close();%0A  )%0A%0A%7D);

version 10