skip to Main Content

Javascript – Why do I see response instead of my document?

I'm trying to understand Service Workers, so I started from simple example <!-- index.html --> <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <script defer type="module" src="index.js"></script> <title>Document</title> </head> <body> <div>…

VIEW QUESTION
Back To Top
Search