sw-toolbox icon indicating copy to clipboard operation
sw-toolbox copied to clipboard

Question: Cache parameter not showing offline page

Open oninross opened this issue 7 years ago • 0 comments

I have this code below: screenshot_061517_112230_am

Correct me if I'm wrong here. The way I understand this is that if the browser hits any of the pages under /pages/, it will check the network first then cache it. Once offline, and if the page is cached, it will show the cached page. Otherwise, show the offline page.

If my assumption above is correct, I dont understand why the cache parameter hinders the toolbox from displaying the offline page. It always happens. The moment I remove the cache parameter, the offline page displays.

Any help would be nice :)

oninross avatar Jun 15 '17 01:06 oninross