title: How to retrieve JSON object stored in cache from service worker?
body: <p>I have a Json object stored in cache , <a href="https://i.stack.imgur.com/e7THA.png" rel="nofollow noreferrer">Please see my cache here</a>.</p>
  
  <p>And I want to retrieve the json values from my service worker</p>
  
  <pre><code>   caches.open('my-post-request').then(function (cache) {
        cache.match('/cached-products.json').then(function (matchedResponse) {
          return fetch('/cached-products.json').then(function (response) {
            return response;
  
          })
        });
      });
  </code></pre>
  
  <p>is there a way to do that? exploring the response in the console I can just see the properties headers, ok, status, type, url, body, but I cant find my json values anywhere.</p>
  
  <p>I would appreciate any suggestion.</p>
  
  <p>Thanks</p>