self.addEventListener('install', function (e) { self.skipWaiting(); });
self.addEventListener('activate', function (e) {
  e.waitUntil((async function () {
    try {
      var keys = await caches.keys();
      for (var i = 0; i < keys.length; i++) { await caches.delete(keys[i]); }
    } catch (err) {}
    try { await self.registration.unregister(); } catch (err) {}
    try {
      var cs = await self.clients.matchAll({ type: 'window' });
      for (var j = 0; j < cs.length; j++) { cs[j].navigate(cs[j].url); }
    } catch (err) {}
  })());
});
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://raspberrywatches.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://raspberrywatches.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://raspberrywatches.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://raspberrywatches.com/wp-sitemap-posts-product-1.xml</loc></sitemap><sitemap><loc>https://raspberrywatches.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://raspberrywatches.com/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://raspberrywatches.com/wp-sitemap-taxonomies-product_brand-1.xml</loc></sitemap><sitemap><loc>https://raspberrywatches.com/wp-sitemap-taxonomies-product_cat-1.xml</loc></sitemap><sitemap><loc>https://raspberrywatches.com/wp-sitemap-taxonomies-product_tag-1.xml</loc></sitemap><sitemap><loc>https://raspberrywatches.com/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
